Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MongoDB] Add query text (db.query.text / db.statement) in activities #4046

Open
yzhoholiev opened this issue Feb 14, 2025 · 1 comment
Open
Labels
enhancement New feature or request
Milestone

Comments

@yzhoholiev
Copy link

yzhoholiev commented Feb 14, 2025

The MongoDB instrumentation is not reaching activities associated with the db.query.text or db.statement (deprecated) tags.

Symptom

The new MongoDB instrumentation does not allow for the inclusion of the query string in the activity.

Expected Behavior

There should be an opt-in option to enable the addition of the query text to the activity.

Runtime Environment (please complete the following information):

  • OpenTelemetry Automatic Instrumentation version: 1.10.0
  • Operating System: Linux
  • .NET Version: .NET 9
@yzhoholiev yzhoholiev changed the title MongoDB instrumentation missing query text (db.query.text / db.statement) in activities [MongoDB] The instrumentation missing query text (db.query.text / db.statement) in activities Feb 14, 2025
@Kielek
Copy link
Contributor

Kielek commented Feb 17, 2025

@pellared pellared added the enhancement New feature or request label Feb 17, 2025
@pellared pellared changed the title [MongoDB] The instrumentation missing query text (db.query.text / db.statement) in activities [MongoDB] Add query text (db.query.text / db.statement) in activities Feb 17, 2025
@pjanotti pjanotti added this to the vNext milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants