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

Feature request: MongoDB client instrumentation #2578

Open
Tracked by #113
jessetan opened this issue Aug 23, 2023 · 3 comments
Open
Tracked by #113

Feature request: MongoDB client instrumentation #2578

jessetan opened this issue Aug 23, 2023 · 3 comments
Labels
Feature New feature or request

Comments

@jessetan
Copy link

jessetan commented Aug 23, 2023

Problem Statement

While Sentry provides low-effort instrumentation of HTTP Client and SQLClient, this does not exist for MongoDB client.
It would be really useful if there was an easy way for developers to get more insight into transaction performance of MongoDB using Sentry.

In the recent release 3.36.0 instrumentation of GraphQL queries was added (#2538).
The original feature request ticket #2449 makes a case to support at least the most popular GraphQL library based on number of installs.
If we compare this with the installation of the MongoDB.Driver package, we can see that MongoDB.Driver is used about 6 times as much, which makes a case for supporting MongoDB.

MongoDB.Driver vs GraphQL installations

Ofcourse it is not realistic to expect Sentry to have built-in support for all possible third-party packages on Nuget, but growing this support to include popular choices like MongoDB, Redis, S3 etc. would make Sentry even more attractive.

References

See also:

@jessetan jessetan added Feature New feature or request Platform: .NET labels Aug 23, 2023
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Aug 23, 2023
@bitsandfoxes
Copy link
Contributor

That's a great feature request, thanks for reaching out! I'll bring that up for the next planning.

@jamescrosswell
Copy link
Collaborator

A rudimentary integration is possible using OpenTelemetry. See the #2634 pull request.

It might be possible to improve this further by implementing some custom enrichers in Sentry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
Status: No status
Status: No status
Archived in project
Development

No branches or pull requests

4 participants