On 08 Apr 01:57, Ebenolt wrote:
> Hey
> Scrape interval can't go higher than 65s or i'll get a "context deadline 
> exceeded"

can you provide more details? that should not happen.

Are you reloading configuration often? or using service descovery?

which version of prometheus are you using?

> 
> 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 ) 
> > > 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 [email protected] <javascript:>. 
> > > To view this discussion on the web visit 
> > > 
> > https://groups.google.com/d/msgid/prometheus-users/9e83f657-3b6b-4c28-a629-67641d8aa7fb%40googlegroups.com
> >  
> > > [1]. 
> > > 
> > > 
> > > Links: 
> > > ------ 
> > > [1] 
> > > 
> > https://groups.google.com/d/msgid/prometheus-users/9e83f657-3b6b-4c28-a629-67641d8aa7fb%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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/1c88d8d7-e0a6-48a5-9fa3-fc24b90c716b%40googlegroups.com.


-- 
 (o-    Julien Pivotto
 //\    Open-Source Consultant
 V_/_   Inuits - https://www.inuits.eu

-- 
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/20200408090008.GA12789%40oxygen.

Attachment: signature.asc
Description: PGP signature

Reply via email to