pingcap / pingcap/tidb

metric: distinguish the internal and general transactions in metric

Open
#41,203 0 comments 0 reactions 0 assignees View on GitHub
component/metrics sig/transaction type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
By now all the metrics in the `tidb-transction` would be displayed for both the background internal transactions and user transactions, it's sometimes misleading to diagnose user transaction issues. It's better to separate them and display the user transaction information by default.

- [ ] Refactor the transaction metrics and panel in `tidb.json`, and distinguish them with `General` and `Internal` flags, the tidb part.
- [ ] Refactor the transaction metrics and panel in `tidb.json`, and distinguish them with `General` and `Internal` flags, the client-go part.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.