Why does UpDownCounter not expose the same functionality as a gauge? #1998
Unanswered
RichardWright
asked this question in
Q&A
Replies: 1 comment
-
You're looking for a value recorder, which records the current state of a value. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why can an updown counter not be used like a gauge? As in, record values as they are without having to diff them to work out what to move the gauge by?
Example where a gauge is used with js/prometheus without worrying about up/down - https://github.com/siimon/prom-client/blob/master/lib/metrics/eventLoopLag.js#L31
Beta Was this translation helpful? Give feedback.
All reactions