Open linzhengen opened 9 months ago
How many times did X happen Number can only increase
What is the current value of X Can go up or down
How long or how big something is Groups observations into configurable bucket size
Response time < 1s < 0.5s < 0.2s
Request size < 1500Mb < 1000Mb < 800Mb
Similar to histograms(track how long or how big) How many observations fell below x Don’t have to define quantiles ahead of time
Response Time 20% = .3s 50% = 0.8s 80% = 1s
Request Size 20% = 50Mb 50% = 200Mb 80% = 500Mb
Metric Types
Counter
How many times did X happen Number can only increase
Example
Gauge
What is the current value of X Can go up or down
Example
Histogram
How long or how big something is Groups observations into configurable bucket size
Example
Response time < 1s < 0.5s < 0.2s
Request size < 1500Mb < 1000Mb < 800Mb
Summary
Similar to histograms(track how long or how big) How many observations fell below x Don’t have to define quantiles ahead of time
Example
Response Time 20% = .3s 50% = 0.8s 80% = 1s
Request Size 20% = 50Mb 50% = 200Mb 80% = 500Mb