-
Notifications
You must be signed in to change notification settings - Fork 190
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: mongo-go-driver instrumentation #443
Comments
We can trace requests by implementing a https://godoc.org/github.com/mongodb/mongo-go-driver/event#CommandMonitor. The events are stateless, so we'll need to maintain a mapping of conn+request ID to span. |
To extract details from MongoDB errors, we should implement #447. |
I've opened https://jira.mongodb.org/browse/GODRIVER-837, proposing an extension to the driver to enable implementations of the monitoring API to store arbitrary data with a request. Until/unless that is an option, we'll have to maintain our own map of active requests. |
Add tracing (and metrics?) for https://github.com/mongodb/mongo-go-driver
The text was updated successfully, but these errors were encountered: