-
Notifications
You must be signed in to change notification settings - Fork 96
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
Database/sql instrumentation #240
Database/sql instrumentation #240
Conversation
…tion used by most of the outer API's
|
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.
E2E tests are missing.
I made only a quick look.
Update version of semconv Co-authored-by: Robert Pająk <pellared@hotmail.com>
…ing SQL query in traces
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.
@RonFed looks great!
The SDK MUST interpret an empty value of an environment variable the same way as when the variable is unset. Co-authored-by: Robert Pająk <pellared@hotmail.com>
@pellared I resolved your comments, please let me know if there is anything else to fix |
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.
This looks really good - thanks @RonFed 👍🏻
I've left some suggestions around parameter offsets. Also, it looks like the example app is all boiler plate - is there an official docker image published that could be used instead?
@MikeGoldsmith Can you please have another look ? |
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.
Looks good, thanks @RonFed
This PR adds instrumentation for
database/sql
package.Added additional example under
examples/httpPlusDb
As a first step, this instrumentation only includes the query string.
Additional fields from the opentelemetry spec will be added in future PRs.