Improve the metrics of store state filter #2933
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/enhancement
The issue or PR belongs to an enhancement.
We have some metrics to help us locate the reason why the scheduling source or target is filtered. e.g.
There is an item named *-store-state-filter which contains many situations, but we cannot distinguish them through the monitor directly.
The logic of the store state filter can be found in https://github.com/tikv/pd/blob/master/server/schedule/filter/filters.go#L220-L358, The metrics related logic can be found in https://github.com/tikv/pd/blob/master/server/schedule/filter/filters.go#L66-L90
The text was updated successfully, but these errors were encountered: