iStats Gauge and String options - any experience?
Hi,
When working with iStats, there is an option to configure the metrics as a Counter, Gauge and String. As far as I understand it, the Gauge gives an average value of all values given to it, and the string puts them all together, but does anyone know exactly how many values it takes for these, or how these exactly work?
For example, does the Gauge option give you an average of the last 50 values? And how many values can the String option take, or is that limited to a number of bytes? I doubt that either one would be working with an infinite set of numbers.
It looks like the official documentation for these mention the options, but not the exact mechanisms.
Thanks!
Yes, it's exactly as you said.
βAn example of decrementing a gauge value is:
istats incr "uri /api gauge curr_reqs" -- -3
Regards,
Dario.