Forum Discussion
AlexBCT
May 12, 2021Cumulonimbus
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,...
- 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.
Twpsyn_
Nimbostratus
So conceptually you might use a counter to record say the total connections handled by an iRule (incrementing on client_accept) and a guage to record the current connections (incrementing on client_accept, decrementing on client_closed)?
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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects