Commit 7640856
authored
fix(Tracing): Check for AI operation id to detect a vercelai span (#18823)
Resolves an issue where spans weren’t being processed because v6 emits
spans with a "default" name. We now validate using both the span name
(v5) and the operation ID (v6).
Closes #18824 (added automatically)1 parent f3097a3 commit 7640856
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments