question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for DD_TRACE_DB_CLIENT_SPLIT_BY_INSTANCE

See original GitHub issue

Are you requesting automatic instrumentation for a framework or library? Please describe. No

Is your feature request related to a problem? Please describe. The service name of spans for db operations is not clear enough. For examples, the service name of spans for mysql query is MyService-mysql, which does not show the database name. And if I have multiple services that query same database, then service names are MyService1-mysql, MyService2-mysql etc.

Describe the solution you’d like The service name of spans for db operations should be database names, like what we have done in dd-trace-java.

Describe alternatives you’ve considered As an alternative, we can use database host name or ip address as service name of spans.

Additional context https://docs.datadoghq.com/tracing/setup_overview/setup/java?tab=containers#ddtracedbclientsplit-by-instance

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
andrewlockcommented, Jul 27, 2021

Thanks, we’re aware this is a limitation at the moment, and we’re planning a long term solution to the problem of service naming across Datadog. We’ll be sure to let you know when we have solid plans.

2reactions
colszewskicommented, Nov 16, 2022

Thanks, we’re aware this is a limitation at the moment, and we’re planning a long term solution to the problem of service naming across Datadog. We’ll be sure to let you know when we have solid plans.

Has there been any progress on the long term solution to this problem? We are a subscriber with a number of services that connect to multiple databases and the functionality described in this pull request would be very beneficial to us.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found