On 2020-04-08 09:57, Ebenolt wrote:
Hey
Scrape interval can't go higher than 65s or i'll get a "context
deadline exceeded"



Did you also increase the timeout?

Le mercredi 8 avril 2020 10:56:11 UTC+2, Stuart Clark a écrit :

You can set your scrape interval to 2 minutes if you want...

On 2020-04-08 09:54, Ebenolt wrote:
Hello,
I'm new to Prometheus, i'd like to monitor wireless AP (Cisco
Meraki
ones) through SNMP, and Cisco made a centralized SNMP system, you
only
need to scrape one target and it will drop you metrics for all
your
APs.
I currently got 20 APs to monitor, so scraping takes a while
(request
times in seconds: https://share.ebenolt.com/08_04_20_0ee981.png
[1] )
Scrape interval can't go lower than scrape timeout (502 Bad
Gateway) ,
but scrape interval can't go higher than 65s (context deadline
exceeded).
so my current job config times:

scrape_timeout: 60s
scrape_interval: 65s

Is there any way to allow Prometheus to scrape with a timeout ~=
120s
?
Thanks

--
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 promethe...@googlegroups.com.
To view this discussion on the web visit


https://groups.google.com/d/msgid/prometheus-users/9e83f657-3b6b-4c28-a629-67641d8aa7fb%40googlegroups.com
[2]
[1].


Links:
------
[1]


https://groups.google.com/d/msgid/prometheus-users/9e83f657-3b6b-4c28-a629-67641d8aa7fb%40googlegroups.com?utm_medium=email&utm_source=footer
[3]

--
Stuart Clark

 --
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/1c88d8d7-e0a6-48a5-9fa3-fc24b90c716b%40googlegroups.com
[4].


Links:
------
[1] https://share.ebenolt.com/08_04_20_0ee981.png
[2]
https://groups.google.com/d/msgid/prometheus-users/9e83f657-3b6b-4c28-a629-67641d8aa7fb%40googlegroups.com
[3]
https://groups.google.com/d/msgid/prometheus-users/9e83f657-3b6b-4c28-a629-67641d8aa7fb%40googlegroups.com?utm_medium=email&utm_source=footer
[4]
https://groups.google.com/d/msgid/prometheus-users/1c88d8d7-e0a6-48a5-9fa3-fc24b90c716b%40googlegroups.com?utm_medium=email&utm_source=footer

--
Stuart Clark

--
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/09e9f3ff7787885a5558e95b72db0f75%40Jahingo.com.

Reply via email to