Why there are both counters and gauges in Prometheus if gauges can act as counters?

后端 未结 2 714
一个人的身影
一个人的身影 2021-02-20 11:46

When deciding between Counter and Gauge, Prometheus documentation states that

To pick between counter and gauge, there is a simp

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-20 12:36

    For counters you care about how fast it is increasing, whereas for gauges you care about the actual value. While there can be gauges that (in theory) only go up, that doesn't make them counters.

提交回复
热议问题