Skysheepwang opened a new issue #5146:
URL: https://github.com/apache/incubator-doris/issues/5146


   Currently, Doris supports three types of metrics, which are Atomic, 
LockSimple and CoreLocalCounter. All of them are not quite suitable for 
statistics analysis. 
   Histogram metrics is already in used in many DBMS like kudu, rocksdb and so 
on. It measures the distribution of values in a stream of data and allow you to 
measure not just easy things like the min, mean, max, and standard deviation of 
values, but also quantiles like the median or 95th percentile.
   As metrics for statistics analysis, the following interface should be 
supported:
   - `add(uint64_t value)`
   - `min()`, `max()`, `num()`, `sum()`
   - `average()`, `median()`, `percentile(double p)`, `standard_deviation()`


----------------------------------------------------------------
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]

Reply via email to