It feels wrong to use a Gauge since its technically a count metric but i guess I don't fully know the implications of using the incorrect metric type or if it really matters?
Same problem here, my underpinning value is a monotonic increasing value, but I do not get the increments, just the new value. I would to set() it, not to inc() it.
Is there a way to explicitly set the counter value besides the increment function?
I have a service that gets it data from an external API which already returns the incremented count value.
After reading the docs the only option I see would be to reset the counter every time I record the new value.
I guess it's similar to this past Issue. https://github.com/siimon/prom-client/issues/534
It feels wrong to use a Gauge since its technically a count metric but i guess I don't fully know the implications of using the incorrect metric type or if it really matters?