Best thing you can do is capture some pprof data. That will show you what
it's spending the time on.

:9374/debug/pprof/heap
:9374/debug/pprof/profile?seconds=30

You can post the results to https://pprof.me/ for sharing.

On Tue, Feb 20, 2024 at 6:22 AM Alexander Wilke <nachtfalk...@gmail.com>
wrote:

> Hello,
> I am running smokeping_prober from one VM to Monitor around 500
> destinations.
> Around 30 devices are monitored with 0.2s Intervall and Others with 1.65s
> Intervall.
>
> Prometheus scrapes every 5s.
>
> So there are roughly 600 icmp ipv4 24byte pings per Seconds.
> CPU usage jumps between 700-1200% using "top"
>
> What Else except reducing Interval or Host Count could Help to reduce CPU
> usage?
> Is the UDP Socket "better" or any other optimization which could be
> relevant for that Type of Traffic? Running on RHEL8
>
> Someone with similar CPU usage and this amount of pings per Seconds? Maybe
> Others Ping 6.000 Destination every 10s?
>
> --
> 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/d803c1a2-64ee-48d1-8513-b864856f53c8n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/d803c1a2-64ee-48d1-8513-b864856f53c8n%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/CABbyFmr0bNn5PYYGyj4cz8ifXwnf2nmtE%3DLeKbKfPnbJAZeqQA%40mail.gmail.com.

Reply via email to