Skip to content

Commit

Permalink
Fixbug:s-p parent_span_id not found (#19829)
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
LYootsz authored and SongZhen0704 committed Dec 9, 2022
1 parent 4845153 commit b5b31db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app/application/l7_flow_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,8 @@ def service_sort(services, app_flows):

server_process_parent_span_id = services[i].direct_flows[0].get(
"parent_span_id", None)
if server_process_parent_span_id not in app_flows_map:
continue
# s-p没有c-app的parent
if server_process_parent_span_id is None or server_process_parent_span_id == '':
continue
Expand Down

0 comments on commit b5b31db

Please sign in to comment.