Skip to content

Conversation

@jaydeluca
Copy link
Member

While enabling metric assertions, I noticed that all mongo instrumentation modules were all emitting telemetry with the mongo-3.1 scope, so I refactored the instrumenters to use a factory instead of the builder directly so that we could customize the name per module.

Part of #14096

@jaydeluca jaydeluca requested a review from a team as a code owner December 1, 2025 15:56
@trask
Copy link
Member

trask commented Dec 1, 2025

looks like potentially related latest dep test failure

:instrumentation:mongo:mongo-async-3.3:javaagent:testStableSemconv FAILED

description: |
Enables statement sanitization for MongoDB queries. Takes precedence over otel.instrumentation.common.db-statement-sanitizer.enabled.
type: boolean
default: true
Copy link
Contributor

Choose a reason for hiding this comment

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

it should default to the value of otel.instrumentation.common.db-statement-sanitizer.enabled but using true should be fine too

@trask trask enabled auto-merge (squash) December 4, 2025 22:33
@trask trask merged commit 9b8a87b into open-telemetry:main Dec 4, 2025
85 checks passed
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