Skip to content
Discussion options

You must be logged in to vote

Hi @shukui-ipo, sql_exporter doesn't scrape targets on its own, the scrapes are controlled and fully performed by the Prometheus instance. In other words, if Prometheus doesn't hit the /metrics endpoint of sql_exporter, nothing is scraped.

If you scrape metrics from Prometheus every 15s, this literally means you're executing queries on the SQL Server every 15s. The timeouts messages you're hitting are related to that and possibly to scrape_timeout which you've set to 1000s which is 16m.

Please check the documentation section on the scrape_timeout:

# Scrape timeouts ensure that:
  #   (i)  scraping completes in reasonable time and
  #   (ii) slow queries are canceled early when the databas…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by burningalchemist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants