weizuo93 opened a new pull request #5665:
URL: https://github.com/apache/incubator-doris/pull/5665
## Proposed changes
Add metrics (min, max, median, average, standard_deviation, P50, P75, P90,
P95, P99, etc.) to show the distribution of tablets version count.
```
# TYPE doris_be_tablet_version_num_distribution gauge
doris_be_tablet_version_num_distribution{type="P99"} 11.000000
doris_be_tablet_version_num_distribution{type="P95"} 11.000000
doris_be_tablet_version_num_distribution{type="P90"} 11.000000
doris_be_tablet_version_num_distribution{type="P75"} 10.833333
doris_be_tablet_version_num_distribution{type="min"} 8
doris_be_tablet_version_num_distribution{type="max"} 11
doris_be_tablet_version_num_distribution{type="sum"} 970
doris_be_tablet_version_num_distribution{type="median"} 8.857143
doris_be_tablet_version_num_distribution{type="average"} 9.700000
doris_be_tablet_version_num_distribution{type="standard_deviation"} 1.187434
doris_be_tablet_version_num_distribution{type="P50"} 8.857143
```
## Types of changes
What types of changes does your code introduce to Doris?
_Put an `x` in the boxes that apply_
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)
- [ ] Code refactor (Modify the code structure, format the code, etc...)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]