Skip to content

metrics for tikv client should distinguish TiKV and TiFlash #16107

@lzmhhh123

Description

@lzmhhh123

Feature Request

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

For now, the metrics of the tikv client statistics some infos like "backoff seconds", "cop_duration_seconds" and etc. are all named tikvclient. That's not friendly with TiFlash. We'd better distinguish them.

labels need to expand:

  • "txn_cmd_duration_seconds"
  • "backoff_seconds"
  • "request_seconds"
  • "cop_duration_seconds"
  • "region_err_total"
  • "txn_regions_num"
  • "pending_batch_requests"
  • "batch_wait_duration"
  • "batch_client_unavailable_seconds"

Metadata

Metadata

Assignees

Labels

component/coprocessorcomponent/metricsfeature/acceptedThis feature request is accepted by product managershelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.type/feature-requestCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions