client-java icon indicating copy to clipboard operation
client-java copied to clipboard

Attach cluster info to slow log and metrics

Open iosmanthus opened this issue 2 years ago • 1 comments

Feature Request

Is your feature request related to a problem? Please describe:

While handling multiple clusters with a single client, we need some information to distinguish them in metrics and slow log outputs. Otherwise, it's hard to tell which cluster is dubious.

Describe the feature you'd like:

  • [ ] Attach cluster_id and pd_addresses properties to slow log. https://github.com/tikv/client-java/pull/557
  • [ ] Attach cluster_id label to metrics. https://github.com/tikv/client-java/pull/558

iosmanthus avatar Mar 16 '22 12:03 iosmanthus

This issue is stale because it has been open 30 days with no activity.

github-actions[bot] avatar Apr 18 '22 00:04 github-actions[bot]