-
Notifications
You must be signed in to change notification settings - Fork 277
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
JDBC connection service mapping not being used, and traceparent missing, in SQL comment #7034
Comments
👋 yes the service not being picked up is a bug, it should be fixed soon :) |
As for the traceparent missing, it's a limitation from how prepared statements work: We're working on a (different) way to still get the traceparent for those prepared statements, but it's not ready yet. |
Reopening since not yet available in a release. Will be closed when 1.35.0 will be released |
yup, it was autoclosed by github as the issue was mentionned in the PR. |
The fix has been delivered in 1.35.0-RC1 freshly released. |
🤖 This issue has been addressed in the latest release. See full details in the Release Notes. |
Hello Team!
We've been trying to get our DBM propagation to work in our JVM service. What we've got so far is this:
Environment variables:
DD_DBM_PROPAGATION_MODE=full
DD_INTEGRATION_JDBC_DATASOURCE_ENABLED=true
DD_SERVICE_MAPPING=java-aws-sdk:service2-aws,kafka:service2-kafka,postgresql:service1-postgres,redis:service2-redis
I've changed the name of our services to service1 and service2, but otherwise it's 1:1.
We're using version
1.34.0
of thedd-java-agent
.In our AWS RDS monitoring I can see that a comment is injected into the SQL that looks like this:
As you can see, the
dddbs
ispostgresql
but I am expecting it to beservice1-postgres
. Also there is notraceparent
In SQL statements from service1, which is a node service, we can see the following comments injected.
Which works as expected.
I've tried running the the service with the variable
DD_TRACE_DEBUG=true
and confirmed that the service mapping was picked up:tranceparent
?Thank you for your time 🙏
The text was updated successfully, but these errors were encountered: