pingcap/tidb

metrics for tikv client should distinguish TiKV and TiFlash

開放

#16,107 建立於 2020年4月7日

 (1 則留言) (0 個反應) (1 位負責人)Go (6,186 個分叉)batch import
component/coprocessorcomponent/metricsfeature/acceptedhelp wantedtype/feature-request

倉庫指標

星標
 (40,090 顆星)
PR 合併指標
 (平均合併 14天 4小時) (30 天內合併 346 個 PR)

描述

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"

貢獻者指南