On 17/02/2021 23:01, 'Marcelo Magallón' via Prometheus Developers wrote:
Hi,

I'm trying to understand the difference in scope between blackbox_exporter and smokeping_prober.

I was thinking of extending blackbox_exporter with functionality similar to smokeping_prober.

In the context of BBE, the existing ping prober sends exactly one ICMP packet per probe and the interval is controlled by the prometheus scrape interval.

With smokeping_prober it sends ICMP packets at regular intervals and it builds a histogram to be collected by prometheus at the scrape interval.

For BBE, what I was thinking is allowing the user to specify a number of ICMP packets to be sent (and an interval) so that it can present min / max / avg / dev / loss metrics. The number and the interval would have to be very restricted to avoid very long scrape times.

The reason for this is that I don't need the continuous pinging functionality provided by smokeping_prober (very short interval over a long period of time) but I also can't do with just the current BBE functionality (relatively long interval over a long period of time). What I'm looking for is a small number of repetitions spaced at a comparatively long interval so that I can derive a more representative packet loss metric (1 packet lost out of 5 over a 10 minute interval is not the same as 1 packet loss out of 5 over 5 seconds).

Thoughts?

Is there any reason you can't use the Blackbox Exporter as it currently is, just decreasing the scrape interval? Prometheus can scrape as infrequently as every 2 minutes or as frequently as several times a second.

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/0774c999-31f9-4b2c-b202-6554d561a29e%40Jahingo.com.

Reply via email to