Skip to content

Commit

Permalink
fixbug:app realte info not return
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 Jan 5, 2023
1 parent df482dc commit 9cbfa11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/app/application/l7_flow_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ async def trace_l7_flow(self,
TAP_SIDE_CLIENT_APP, TAP_SIDE_SERVER_APP, TAP_SIDE_APP
] or not dataframe_flowmetas['span_id'][index]:
continue
if dataframe_flowmetas['trace_id'][index] not in [0, '']:
continue
#if dataframe_flowmetas['trace_id'][index] not in [0, '']:
# continue
if type(dataframe_flowmetas['span_id'][index]) == str and \
dataframe_flowmetas['span_id'][index] and \
type(dataframe_flowmetas['parent_span_id'][index]) == str and \
Expand Down Expand Up @@ -361,7 +361,7 @@ async def trace_l7_flow(self,
for network in networks:
network.set_relate(new_flows, related_map)

if new_app_metas:
if apps:
for app in apps:
app.set_relate(new_flows, related_map)
dataframe_flowmetas = pd.concat([dataframe_flowmetas, new_flows],
Expand Down

0 comments on commit 9cbfa11

Please sign in to comment.