getsentry / getsentry/sentry-dotnet

Feature request: MongoDB client instrumentation

Open
#2,578 3 comments 2 reactions 0 assignees View on GitHub
.NET Feature Spans
Dominant language
C#
Stars
770
Forks
248
Avg merge
3d 4h
Merged PRs (30d)
49

Description

### 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:

* [https://github.com/getsentry/sentry-dotnet/issues/3730]()

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.