Repository navigation
Commit 9177a93
Add peer tags to messaging spans; apply code origin to handler spans
Two review findings, both confirmed in the code:
- RabbitChannelInstrumentation calls onPeerConnection on its client,
producer and consumer decorators. messaging.producer and
messaging.client now include peer, peer_address and outbound_peer
(peer.service is computed for client and producer spans, as for
http.client and rpc.client); messaging.consumer includes peer_address
and inbound_peer. Consumers also set peer.hostname, which
outbound_peer declares for client spans only: a TODO, as for
websocket spans.
- Code origin's entry capture instruments annotated controller methods,
whose active span is the framework's handler span, so the code_origin
mixin also applies to web.handler.
Slots unchanged at 47 with #12882's coloring.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 20a0148 commit 9177a93
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
| 267 | + | |
| 268 | + | |
266 | 269 | | |
267 | 270 | | |
268 | 271 | | |
| 272 | + | |
269 | 273 | | |
270 | 274 | | |
271 | 275 | | |
| |||
279 | 283 | | |
280 | 284 | | |
281 | 285 | | |
| 286 | + | |
282 | 287 | | |
283 | 288 | | |
284 | 289 | | |
| |||
379 | 384 | | |
380 | 385 | | |
381 | 386 | | |
382 | | - | |
| 387 | + | |
| 388 | + | |
383 | 389 | | |
384 | 390 | | |
385 | 391 | | |
386 | | - | |
| 392 | + | |
387 | 393 | | |
388 | 394 | | |
389 | 395 | | |
| |||
0 commit comments