pingcap/tidb

metrics for tikv client should distinguish TiKV and TiFlash

Ouverte

#16 107 ouverte le 7 avr. 2020

 (1 commentaire) (0 réaction) (1 personne assignée)Go (6 186 forks)batch import
component/coprocessorcomponent/metricsfeature/acceptedhelp wantedtype/feature-request

Métriques du dépôt

Stars
 (40 090 étoiles)
Métriques de merge PR
 (Merge moyen 14j 4h) (346 PRs mergées en 30 j)

Description

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"

Guide contributeur