feat(llmobs): add source:otel tag to evaluations when DD_TRACE_OTEL_ENABLED is set#7113
Merged
ZStriker19 merged 2 commits intomasterfrom Dec 16, 2025
Merged
feat(llmobs): add source:otel tag to evaluations when DD_TRACE_OTEL_ENABLED is set#7113ZStriker19 merged 2 commits intomasterfrom
ZStriker19 merged 2 commits intomasterfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7113 +/- ##
==========================================
- Coverage 84.78% 84.76% -0.02%
==========================================
Files 521 521
Lines 22149 22151 +2
==========================================
- Hits 18778 18776 -2
- Misses 3371 3375 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Overall package sizeSelf size: 4.34 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 1.15.0 | 127.66 kB | 856.24 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
sabrenner
reviewed
Dec 15, 2025
BenchmarksBenchmark execution time: 2025-12-16 20:34:43 Comparing candidate commit a72d4c8 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 291 metrics, 29 unstable metrics. |
sabrenner
approved these changes
Dec 16, 2025
1 task
dd-octo-sts Bot
pushed a commit
that referenced
this pull request
Dec 17, 2025
…NABLED is set (#7113) * feat: * Sam comments
Merged
BridgeAR
pushed a commit
that referenced
this pull request
Dec 17, 2025
…NABLED is set (#7113) * feat: * Sam comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Auto-add
source:oteltag to LLMObs evaluations when OTel tracing is enabled.When
DD_TRACE_OTEL_ENABLED=true, automatically addssource:oteltag to all submitted evaluations. This allows the backend to wait ~3 minutes for OTel span conversion before discarding unmatched evaluations.Related: DataDog/dd-trace-py#15538
Changes
source:oteltag insubmitEvaluation()whenDD_TRACE_OTEL_ENABLEDenvironment variable is setTesting
Added unit tests:
adds source:otel tag when DD_TRACE_OTEL_ENABLED is setdoes not add source:otel tag when DD_TRACE_OTEL_ENABLED is not setPlugin Checklist
Additional Notes