Skip to content

Commit 4070b7e

Browse files
keithf4hunleyd
andauthored
feat: add scrape_error_drop_interval to config example (#450)
Co-authored-by: Douglas J Hunley <doug.hunley@gmail.com>
1 parent eb68ac4 commit 4070b7e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

changelogs/fragments/431.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
minor_changes:
3+
- sql_exporter - Add scrape_error_drop_interval setting to the configuration example

sql_exporter/common/sql_exporter.yml.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ global:
1212
max_idle_connections: 3
1313
# Maximum amount of time a connection may be reused to any one target. Infinite by default.
1414
max_connection_lifetime: 10m
15+
# If scrape errors are corrected, how long until the scrape error metric is dropped from the metric output
16+
scrape_error_drop_interval: 5m
1517

1618
# The target(s) to monitor and the list of collectors to execute
1719
#

0 commit comments

Comments
 (0)