Skip to content

otelmongo: default to stable semconv#8230

Merged
dmathieu merged 8 commits into
open-telemetry:mainfrom
dmathieu:otelmongo-default-new-semconv
Dec 4, 2025
Merged

otelmongo: default to stable semconv#8230
dmathieu merged 8 commits into
open-telemetry:mainfrom
dmathieu:otelmongo-default-new-semconv

Conversation

@dmathieu
Copy link
Copy Markdown
Member

otelmongo has had support for both 1.21.0 and the stabilized versions for quite a while now (4 releases, over a year: 04b152d).

So this switches the default behavior of the module to use the stable semconv.
Older semconvs can still be used with the OTEL_SEMCONV_STABILITY_OPT_IN=database/dup environment variable.

This matches what we did for the HTTP libraries.

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.1%. Comparing base (09c71d1) to head (3477285).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #8230   +/-   ##
=====================================
  Coverage   82.1%   82.1%           
=====================================
  Files        195     195           
  Lines      13680   13678    -2     
=====================================
+ Hits       11233   11242    +9     
+ Misses      2040    2029   -11     
  Partials     407     407           
Files with missing lines Coverage Δ
.../mongo/otelmongo/internal/semconv/event_monitor.go 100.0% <100.0%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dmathieu dmathieu changed the title otelmongo: default to new semconv otelmongo: default to stable semconv Nov 28, 2025
@dmathieu dmathieu marked this pull request as ready for review November 28, 2025 12:43
@dmathieu dmathieu requested a review from a team as a code owner November 28, 2025 12:43
Copy link
Copy Markdown
Member

@prestonvasquez prestonvasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Comment thread CHANGELOG.md Outdated
dmathieu and others added 2 commits December 4, 2025 09:32
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@dmathieu dmathieu merged commit 92615d9 into open-telemetry:main Dec 4, 2025
46 of 61 checks passed
@MrAlias MrAlias mentioned this pull request Dec 8, 2025
@MrAlias MrAlias added this to the v1.39.0 milestone Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants