googleapis / googleapis/google-cloud-java
[java-spanner-jdbc] feat: support option for setting `client-id`
Offen
#12,278
0 Kommentare
0 Reaktionen
1 zugewiesene Person
Beansprucht von @olavloite
Auf GitHub ansehen
api: spanner
type: feature request
- Vorherrschende Sprache
- Java
- Sterne
- 2.1k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 154
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.