31 Jan 2024
07:24 PM
- last edited on
07 Feb 2024
09:57 AM
by
MaciejNeumann
Hello,
I need the count of the result records returned by a metric expression shown below:
(builtin:kubernetes.node.requests_memory / builtin:kubernetes.node.memory_allocatable * 100):filter(series(avg,gt,95))
This is related to a need for Kubernetes alerting when memory request saturation is over 95% across x number of nodes. Obviously, alerting on a node by node basis causes noise.
The expression above does list the nodes meeting the conditions but I need the total count.
Any help is appreciated.
Thanks.
05 Feb 2024 05:45 PM
This is related to managed cluster