Skip to content

feat: support option for setting client-id #1856

Open
googleapis/java-spanner
#3832
@olavloite

Description

@olavloite

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.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner-jdbc API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions