09 May 2023 04:44 PM - last edited on 29 May 2023 11:26 PM by MaciejNeumann
I have a calculated metric for a series of nodes (in this case % memory used) - I would like to show a table of matching nodes where the calculated value is less than 20% or greater than 80%. I've got the first part working but I am unsure if filter will allow me to produce what's needed.
builtin:kubernetes.container.requests_memory:last:splitBy("dt.entity.kubernetes_container","dt.entity.kubernetes_cluster"):sum / builtin:kubernetes.container.memory_allocatable:last:splitBy("dt.entity.kubernetes_container","dt.entity.kubernetes_cluster"):sum*100):setUnit(Percent):sort(value(sum,descending))
Solved! Go to Solution.
Could you please test this line in your metric expression:
Here is an example for nodes:
I hope it helps.
Thanks vary much , exactly what was needed