Skip to content

Switch version from function to string in otelmongo v2#8370

Merged
pellared merged 3 commits into
open-telemetry:mainfrom
petern48:otelmongo-v2-version
Jan 9, 2026
Merged

Switch version from function to string in otelmongo v2#8370
pellared merged 3 commits into
open-telemetry:mainfrom
petern48:otelmongo-v2-version

Conversation

@petern48
Copy link
Copy Markdown
Member

@petern48 petern48 commented Jan 8, 2026

Change Version() func to const Version string in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo

Part of #8272

@petern48 petern48 marked this pull request as ready for review January 8, 2026 18:47
@petern48 petern48 requested a review from a team as a code owner January 8, 2026 18:47
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.3%. Comparing base (937f0da) to head (9e2d3f4).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #8370     +/-   ##
=======================================
- Coverage   82.3%   82.3%   -0.1%     
=======================================
  Files        186     185      -1     
  Lines      13765   13763      -2     
=======================================
- Hits       11330   11328      -2     
  Misses      2030    2030             
  Partials     405     405             
Files with missing lines Coverage Δ
...godb.org/mongo-driver/v2/mongo/otelmongo/config.go 100.0% <100.0%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@petern48 petern48 force-pushed the otelmongo-v2-version branch from d4ad7aa to 9c7a485 Compare January 8, 2026 18:59
@pellared pellared merged commit 0948681 into open-telemetry:main Jan 9, 2026
29 checks passed
@petern48 petern48 deleted the otelmongo-v2-version branch January 9, 2026 15:46
@MrAlias MrAlias added this to the v1.40.0 milestone Jan 30, 2026
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.

5 participants