Commit c2e6ed4
committed
fix(observability-sdk): require whitespace after HTTP verb in span filter
The excludeHttpRequests preset matched any word boundary after the
HTTP verb, so user spans like 'post-process' or 'delete-account' were
silently dropped from export. Require whitespace or end-of-string
after the verb instead, matching the OTel HTTP instrumentation shape.
Fixes langwatch#74131 parent b682b88 commit c2e6ed4
2 files changed
Lines changed: 16 additions & 2 deletions
File tree
- sdks/typescript/src/observability-sdk/exporters
- __tests__
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
285 | 298 | | |
286 | 299 | | |
287 | 300 | | |
| |||
456 | 469 | | |
457 | 470 | | |
458 | 471 | | |
459 | | - | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
257 | 259 | | |
258 | 260 | | |
0 commit comments