Skip to content

Conversation

@dmathieu
Copy link
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

codecov bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.1%. Comparing base (6544466) to head (afdf7a5).

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       11237   11241    +4     
+ Misses      2037    2031    -6     
  Partials     406     406           
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 force-pushed the otelmongo-default-new-semconv branch from d908fe2 to 7109592 Compare November 28, 2025 12:42
@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
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.

1 participant