googleapis / googleapis/google-cloud-java

[java-spanner-jdbc] feat: support option for setting `client-id`

未关闭
#12,278 0 条评论 0 个 reaction 已指派 1 人 已被 @olavloite 认领 在 GitHub 查看
api: spanner type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。