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

ODM Mongo support #886

Open
markitosgv opened this issue Oct 17, 2024 · 4 comments
Open

ODM Mongo support #886

markitosgv opened this issue Oct 17, 2024 · 4 comments

Comments

@markitosgv
Copy link

Problem Statement

It seems now sentry is starting to add support for mongodb queries:

"MongoDB support is currently available to Early Adopters. Early Adopter features are still in-progress and may have bugs. We recognize the irony."

Solution Brainstorm

Allow tracing mongodb queries

@cleptric
Copy link
Member

Are you talking about adding tracing support for https://github.com/doctrine/DoctrineMongoDBBundle?

@markitosgv
Copy link
Author

Yes

@melkamar
Copy link
Contributor

melkamar commented Dec 5, 2024

I have spent a few hours on trying to get the query data from MongoDB to Sentry now. According to the Queries documentation that should be possible:

Query monitoring works best with up-to-date SDK versions. The following minimum versions are recommended:
Symfony SDK v4.11.0

Span Eligibility
Sentry tries to extract metrics for all SQL-like dialects, as well as MongoDB.

If you are using automatic instrumentation, query monitoring should work without any configuration.

Errors and performance reports are coming to my Sentry without problems, but I am not getting any query data. Am I missing a config or is the documentation wrong?

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Dec 5, 2024
@cleptric
Copy link
Member

cleptric commented Dec 5, 2024

We'll update this page to distinguish between SQL and NoSQL DBs. The Symfony SDK today does not support MongoDB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants