Skip to content
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

Use hikari pool name as service name #7152

Open
mwisnicki opened this issue Jun 10, 2024 · 0 comments
Open

Use hikari pool name as service name #7152

mwisnicki opened this issue Jun 10, 2024 · 0 comments

Comments

@mwisnicki
Copy link

I have 2 postgresql connections and 2 redshift connections.

In order to differentiate them one can set DD_TRACE_DB_CLIENT_SPLIT_BY_INSTANCE but in my case I have database of the same name in postgresql and redshift which would create a conflict.

Another option is DD_TRACE_DB_CLIENT_SPLIT_BY_HOST but that requires more complicated service mappings and would be problematic if someone has 2 databases on the same server.

We already have to set unique pool names for Hikari so it would be great if dd could just pick them up as service names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant