Skip to content

Commit

Permalink
Call chain tracing pruning
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 authored and LYootsz committed Apr 19, 2023
1 parent 96b1c88 commit 4a34aa8
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -707,7 +707,7 @@ def to_sql_filter(self) -> str:
syscall_trace_id_response=self.syscall_trace_id_response))
if not sql_filters:
return '1!=1'
sql = f"vtap_id={self.vtap_id} AND ({' OR '.join(sql_filters)})"
sql = f"vtap_id={self.vtap_id} AND start_time <=fromUnixTimestamp64Micro({self.end_time_us}) AND end_time >=fromUnixTimestamp64Micro({self.start_time_us}) AND ({' OR '.join(sql_filters)})"
return f"({sql})"


Expand Down

0 comments on commit 4a34aa8

Please sign in to comment.