Commit 65155a5
fix(issues): Exclude HTTP spans under all gen_ai.* ops from consecutive HTTP detector
The consecutive HTTP detector only excluded HTTP spans parented to
gen_ai.chat spans. Agentic AI workflows use gen_ai.invoke_agent and
other gen_ai.* ops, causing false positive detections on inherently
sequential LLM call loops.
Broaden the filter from gen_ai.chat to any span with a gen_ai.* prefix.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a42598b commit 65155a5
File tree
2 files changed
+4
-4
lines changed- src/sentry/issue_detection/detectors
- tests/sentry/issue_detection
2 files changed
+4
-4
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
0 commit comments