tikv / tikv/pd

Hot Read/Write Rate Bytes statistic is unstable and jitter

Open
#2,497 0 comments 0 reactions 0 assignees View on GitHub
component/statistics type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

Although we add [hot_peer_cache](https://github.com/pingcap/pd/blob/92e29af8378f43b3555cf7c266ef020010825597/server/statistics/hot_peer_cache.go#L119) and TimeMedian, which is a combination of [AverageOverTime](https://github.com/pingcap/pd/blob/92e29af8378f43b3555cf7c266ef020010825597/server/statistics/avg_over_time.go#L37) and [Median Moving Average](https://github.com/pingcap/pd/blob/92e29af8378f43b3555cf7c266ef020010825597/server/statistics/avg_over_time.go#L37), there are still some jitter sometimes.

![image](https://user-images.githubusercontent.com/19542290/83657985-318aba80-a5f4-11ea-8c51-867351478e67.png)

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.