Timeout while collecting metrics #882
Replies: 1 comment
-
|
Hi @shukui-ipo, 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 Please check the documentation section on the
As for your problem, it depends on how long it takes for your queries to run. The options I see:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have just started using sql_exporter. I added a custom collector to query index fragmentation. Because this collector takes a long time to run, I configured “min_interval: 12h”. My Prometheus scrapes metrics every 15 seconds. However, I observed that each time Prometheus scrapes, sql_exporter prints the following error:
In addition, the database also executes the query once for each scrape.
Beta Was this translation helpful? Give feedback.
All reactions