Commit 84ced08
Skip worker.invocation span for secondary workers
Secondary workers are now children of the primary's GlobalInit span,
so creating a worker.invocation span for them is redundant. Skip it
and go directly to the worker.init and worker.process spans.
The trace hierarchy is now cleaner:
Primary worker.invocation
└── Primary worker.init (GlobalInit)
├── Secondary 1 worker.init
│ └── worker.process
└── Secondary 2 worker.init
└── worker.process
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 13e21d7 commit 84ced08
1 file changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1513 | 1523 | | |
1514 | 1524 | | |
1515 | 1525 | | |
| |||
0 commit comments