Commit 19eeac5
ref: Simplify end timestamp calculation in add_http_request_source
Remove start_timestamp_monotonic_ns from StreamedSpan and NoOpStreamedSpan,
and simplify the end timestamp fallback in add_http_request_source to use
datetime.now(timezone.utc) directly. The monotonic-based calculation added
complexity without meaningful benefit over the UTC fallback.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9d2546f commit 19eeac5
2 files changed
Lines changed: 3 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | 467 | | |
472 | 468 | | |
473 | 469 | | |
| |||
682 | 678 | | |
683 | 679 | | |
684 | 680 | | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | 681 | | |
690 | 682 | | |
691 | 683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
369 | 368 | | |
370 | 369 | | |
371 | 370 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
385 | 374 | | |
386 | 375 | | |
387 | 376 | | |
| |||
0 commit comments