add a metric to record the conf version & version of the region #1092
Labels
component/api
HTTP API.
component/metrics
Metrics.
type/enhancement
The issue or PR belongs to an enhancement.
If a region's conf version is large, there may be some wrong that the PD does lots of balances for this region.
If a region's version is large, it means the region may be hot and has a heavy write, we should pay attention to it.
We can add a histogram to record these, maybe we can also provide an API to show the top regions which have the largest version or conf version.
The text was updated successfully, but these errors were encountered: