-
Notifications
You must be signed in to change notification settings - Fork 377
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
SQL comment propagation for mysql2
#2324
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2324 +/- ##
========================================
Coverage 98.30% 98.30%
========================================
Files 1092 1100 +8
Lines 58047 58242 +195
========================================
+ Hits 57062 57256 +194
- Misses 985 986 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
spec/datadog/tracing/contrib/propagation/sql_comment/comment_spec.rb
Outdated
Show resolved
Hide resolved
Anything keeping this PR in draft state? |
@marcotc I am still working on the documentation for this 😄 |
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.
🔥
What does this PR do?
Inject sql comment to enable database monitoring.
By default, it is
disabled
.With
service
mode, our tracer propagates service context to database, which enable Datadog to build service map.