-
Notifications
You must be signed in to change notification settings - Fork 575
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
Add instrumentation for github.com/gocql/gocql #137
Add instrumentation for github.com/gocql/gocql #137
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The overall approach looks good. I have some questions/comments about implementation.
Thanks for working on this 😄
… to semantic conventions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @Aneurysm9 on the tracer/meter naming, but otherwise looks good.
The included comment is more for historical purposes when it can be addressed.
Thanks for the contribution!
* Fix compilation with Golang 1.13 * run go mod tidy again
Addresses #91
This PR adds an integration for the Cassandra DB golang client, gocql.
Since the previous implementation of this integration was created, the gocql community added Observer hooks that can be used to collect metrics for queries, batch queries, and connection attempts. You can see the one for queries here. This integration uses these observers, which differs from the prior art, which created a wrapper around the
gocql.Query
.Any feedback is appreciated!