Commit d99dd00
committed
feat(claw-eval): add gen_ai.provider.name to invoke_agent_internal span
Add _infer_provider_name() helper to resolve provider name from the
provider instance. This fixes a P0 compliance gap where the Required
attribute gen_ai.provider.name was missing on invoke_agent_internal
spans in the CLAW-eval instrumentation.
Change-Id: Iad6b28ea1c9f09b4fae4aef03c625b35fcdff3d0
Co-developed-by: Qoder <noreply@qoder.com>1 parent 4064298 commit d99dd00
1 file changed
Lines changed: 35 additions & 0 deletions
File tree
- instrumentation-loongsuite/loongsuite-instrumentation-claw-eval/src/opentelemetry/instrumentation/claw_eval/internal
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
65 | 93 | | |
66 | 94 | | |
67 | 95 | | |
| |||
514 | 542 | | |
515 | 543 | | |
516 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
517 | 552 | | |
518 | 553 | | |
519 | 554 | | |
| |||
0 commit comments