Lower scraping interval and increase timeout for smartctl targets

This commit is contained in:
Alex D. 2024-07-23 17:41:13 +00:00
parent 7cadd05252
commit e2f1072676
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
. ../APKBUILD-config.template . ../APKBUILD-config.template
pkgver=2024.05.27.01 pkgver=2024.06.15.01
pkgrel=0 pkgrel=0
source=" source="
config.yaml config.yaml
@ -21,5 +21,5 @@ package() {
} }
sha512sums=" sha512sums="
a100ac5e45ab945f7baf9079be6d501a0cdaf7d1e90338cbcb26f3a30d75c6b15ced546effd7418a62eefce40e483c8f5bd252d7c9ee6c3afc72601acb8da05d config.yaml 249ffe3355cb00d1c319d4ff6503f2effcfab2349e0a47e0b295fe7500a84269b39d69a0d90799a3279482efc4490800af10d301d20329b8d41382b3922449f9 config.yaml
" "

View File

@ -31,6 +31,8 @@ scrape_configs:
- names: [ 'libvirt.prometheus.routinginfo.internal' ] - names: [ 'libvirt.prometheus.routinginfo.internal' ]
type: 'SRV' type: 'SRV'
- job_name: "smartctl" - job_name: "smartctl"
scrape_interval: 1m # Less important and also takes longer to query
scrape_timeout: 30s # Handle scraping delays
dns_sd_configs: dns_sd_configs:
- names: [ 'smartctl_exporters.prometheus.routinginfo.internal' ] - names: [ 'smartctl_exporters.prometheus.routinginfo.internal' ]
type: 'SRV' type: 'SRV'