Did you try with

topk(3,metrics) ?

sri L <lransri1...@gmail.com> schrieb am Di., 20. Feb. 2024, 05:19:

> Hi all,
>
> I am looking for a way to send out an alert with top 3 cpu/memory
> utilization processes when total cpu/memory utilization goes above 80% for
> a node.
>
> I can create an alert using node metrics to send notification when cpu
> utilization is above 80% but unable to find a way to include top 3 process
> details in the same alert
>
> Kindly suggest there is any method to achieve this
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/f88f6b04-546c-4a8b-ba67-98a1928d638dn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/f88f6b04-546c-4a8b-ba67-98a1928d638dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAJuaemamk4XOWKJyskG%3D-JwvdB1LFYz%2B-LAeufXkdrhYVPbTZg%40mail.gmail.com.

Reply via email to