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.

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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/fb295a71-7cfa-4101-bd32-53a3add4999ao%40googlegroups.com.

Reply via email to