Commit f8bbb2a
fix: [SVLS-8538] apply durable function tags via setTag on the active span (#762)
* fix: [SVLS-8538] apply durable function tags via setTag on the active span
Tags for aws_lambda.durable_function.* were set through options.tags in
tracer.wrap(), but that path does not reliably reach the aws.lambda span.
Apply them directly via span.setTag() in onEndingInvocation(), the same
way http.status_code is applied.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* remove logDebug from durable function tag application
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* add back logDebug for durable function tag application
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e7477a4 commit f8bbb2a
2 files changed
Lines changed: 32 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
547 | 571 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
229 | 237 | | |
230 | 238 | | |
231 | 239 | | |
| |||
337 | 345 | | |
338 | 346 | | |
339 | 347 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
| |||
0 commit comments