Thank you so much. You hit the nail on the head. That was the exact problem. When I increased the scrape_interval it scraped properly.
On Tuesday, 29 September 2020 at 14:24:40 UTC+5:30 [email protected] wrote: > You have set scrape_interval: 1s. This automatically sets the deadline to > slightly less than 1 second (0.5 seconds I think). > > Therefore my guess is that the total scrape time is slightly greater than > 0.5 seconds when all OIDs are scraped, and slightly less when you comment > one out. > > This can easily be confirmed by increasing the scrape_interval to say 10 > seconds, then look at the metrics "snmp_scrape_duration_seconds" (which > comes from the exporter) and "scrape_duration_seconds" (which comes from > 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/d41a66b6-b700-455a-8323-04d1921030c1n%40googlegroups.com.

