Forum Discussion

AlexBCT's avatar
AlexBCT
Icon for Cumulonimbus rankCumulonimbus
May 12, 2021
Solved

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,...
  • Dario_Garrido's avatar
    Dario_Garrido
    May 24, 2021

    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.