getsentry / sentry-ruby

Sentry SDK for Ruby
https://sentry.io/for/ruby
MIT License
938 stars 496 forks source link

Support for MongoDB queries #2458

Open sandstrom opened 2 weeks ago

sandstrom commented 2 weeks ago

Request

MongoDB in queries is supported in Python and JS SDKs. Would be nice with Ruby support too.

https://sentry.io/changelog/mongodb-is-now-supported-by-queries/

More details

This is how it's implemented in Skylight (another tracing product for Ruby). Perhaps this can help suggest how to implement it for Sentry.

https://github.com/skylightio/skylight-ruby/blob/main/lib/skylight/probes/mongo.rb