On Sun, 25 Oct 2020 at 07:32, Brian Candler <[email protected]> wrote:

> It could be that some of your scrapes are failing.  With a 1 second scrape
> interval, the scrape time limit will be 0.5 seconds by default, I believe.
>

It'll be a second. It's only the blackbox exporter that subtracts out half
a second (by default), as if the probe times out there's still useful
metrics about how it failed that we want to try to get back to Prometheus.

Brian


>
> What does a graph of
>
> up{job="prometheus",instance="host.docker.internal:3000"}
> scrape_duration_seconds{job="prometheus",instance="host.
> docker.internal:3000"}
>
> show?  What happens if you change your scrape interval to 10 seconds?
>
> How are you generating this "test_total" metric, i.e. what exporter is
> running on port 3000? And can you show the definition of the "prometheus"
> scrape job in your prometheus.yml ?  (Aside: it would be normal to give the
> scrape job a more descriptive name, since you're not scraping prometheus
> itself)
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/fb295a71-7cfa-4101-bd32-53a3add4999ao%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/fb295a71-7cfa-4101-bd32-53a3add4999ao%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Brian Brazil
www.robustperception.io

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAHJKeLqoAUJRCG2WZ74PMUGu%3DBH_wsnpe-o4nRJ2Nv2u_HkJvw%40mail.gmail.com.

Reply via email to