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

feat: support option for setting client-id #1856

Open
olavloite opened this issue Dec 12, 2024 · 0 comments
Open

feat: support option for setting client-id #1856

olavloite opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@olavloite
Copy link
Collaborator

The JDBC driver automatically creates a Spanner instance based on the JDBC connection URL. If an application uses several different JDBC connection URLs, then the JDBC driver will create several Spanner instances. Each instance will be assigned a monotonically increasing client-id that is included in the metrics that are being collected. It is hard for users to relate a given client-id to a specific connection URL. Adding an option for setting the client-id that should be used would make this easier.

@olavloite olavloite added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Dec 12, 2024
@olavloite olavloite self-assigned this Dec 12, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner-jdbc API. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant