Metric Types Flashcards

1
Q

list metric types

A
  • counter,
    -gauge,
    -histogram,
  • summary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

explain counter metric

A

feature that can only go up

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

explain gauge metric

A

like counter but can also go down, not only up, for example room temperature

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly