Metric Types Flashcards
1
Q
list metric types
A
- counter,
-gauge,
-histogram, - summary
2
Q
explain counter metric
A
feature that can only go up
3
Q
explain gauge metric
A
like counter but can also go down, not only up, for example room temperature
4
Q
explain downsides of calculating metrics on client side
A
- pressure moved from prometheus to the app,
- can’t chose the time window, there’s only data for last 10 minutes
- can’t aggregate quantiles because each pod/server will deliver it’s own metrics and averaging quantiles is mathematically incorrect
5
Q
Why averaging quantiles is mathematically incorrect?
A
imagine it takes me 1 day to take out trash and 9 other people it takes on 10 minutes. If I average this it’ll make no sense… Imagine people are instances.