Skip to content

Commit

Permalink
Fix missing x_request_id data
Browse files Browse the repository at this point in the history
**Phenomenon and reproduction steps**

**Root cause and solution**

**Impactions**

**Test method**

**Affected branch(es)**

* main

**Checklist**

- [ ] Dependencies update required
- [ ] Common bug (similar problem in other repo)
  • Loading branch information
xiaochaoren1 committed Jan 10, 2024
1 parent 21ab13e commit 21ed93a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app:
timeout: 60

spec:
l7_tracing_limit: 100
l7_tracing_limit: 1000
network_delay_us: 1000000
allow_multiple_trace_ids_in_tracing_result: false
call_apm_api_to_supplement_trace: false
2 changes: 1 addition & 1 deletion app/app/application/l7_flow_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ async def trace_l7_flow(self,
dataframe_flowmetas['x_request_id_1'][index]))
new_x_request_metas -= x_request_metas
x_request_metas |= new_x_request_metas
x_requests = [L7XrequestMeta(nxr) for nxr in new_x_request_metas]
xrequests = [L7XrequestMeta(nxr) for nxr in new_x_request_metas]
# x_request_id related query
x_request_filters = []
if x_request_id_0s:
Expand Down
2 changes: 1 addition & 1 deletion app/app/application/tracing_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ async def trace_l7_flow(self,
dataframe_flowmetas['x_request_id_1'][index]))
new_x_request_metas -= x_request_metas
x_request_metas |= new_x_request_metas
x_requests = [L7XrequestMeta(nxr) for nxr in new_x_request_metas]
xrequests = [L7XrequestMeta(nxr) for nxr in new_x_request_metas]
# x_request_id related query
x_request_filters = []
if x_request_id_0s:
Expand Down

0 comments on commit 21ed93a

Please sign in to comment.