You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My expectation for counters is that they are ever increasing integers. The CounterMetricFamily sets float values, if you pass an integer in its constructor value kwarg.
In the example, if you register a CounterMetricsFamily, assigning an int value, the value comes back as the float value of the integer.
For example, if you set the value to 4, it gets reported as 4.0
This makes sense, since the code of the implementation is setting the value explicitly as a float in its constructor.
Is that expected?
Activity