Skip to content

Commit

Permalink
[feature] tracing panel, change "x_request_id" to "x_request_id_0" "x…
Browse files Browse the repository at this point in the history
…_request_id_1"

**Phenomenon and reproduction steps**

none

**Root cause and solution**

none

**Impactions**

none

**Test method**

none

**Affected branch(es)**

- main

**Checklist**

- [ ] Dependencies update required
- [ ] Common bug (similar problem in other repo)
  • Loading branch information
twou12031 authored and travilyu committed Mar 12, 2024
1 parent 2efc7ee commit b81f9dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion deepflow-apptracing-panel/src/utils/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export const RELATED_DATA_DISPLAY_COLUMNS = [
'trace_id',
'span_id',
'parent_span_id',
'x_request_id',
'x_request_id_0',
'x_request_id_1',
'syscall_trace_id_request',
'syscall_trace_id_response',
'req_tcp_seq',
Expand Down
2 changes: 1 addition & 1 deletion deepflow-apptracing-panel/src/utils/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function dealPercentageValue(v: unknown) {

const RELATED_TYPE_FIELDS_MAP = {
traceid: ['trace_id'],
xrequestid: ['x_request_id'],
xrequestid: ['x_request_id_0', 'x_request_id_1'],
app: ['span_id', 'parent_span_id'],
network: ['req_tcp_seq', 'resp_tcp_seq'],
syscall: ['syscall_trace_id_request', 'syscall_trace_id_response']
Expand Down

0 comments on commit b81f9dc

Please sign in to comment.