getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
336 stars 1.47k forks source link

Comments on how to add full operation object in span description for mongodb #11623

Open irdkwmnsb opened 1 month ago

irdkwmnsb commented 1 month ago

Problem Statement

Currently when using the default mongodb integration some all values in the operation object are replaced with question marks and it's unclear how to set it up to include some fields, like, for example, collection name.

Image

https://docs.sentry.io/platforms/javascript/guides/hapi/configuration/integrations/mongo/

Solution Brainstorm

I'm not sure there is even an option to include collection name using opentelemetry's instrumentation library

getsantry[bot] commented 1 month ago

Assigning to @getsentry/support for routing ⏲️