SQL Exporter v0.20.0
⚠️ BREAKING CHANGES
- The
aws_secret_namefield has been removed and related legacy code has been replaced with the new mechanism.
What's Changed
This release adds following features and improvements:
- Secrets can now be referenced directly in the
data_source_namefield using the new URL syntax. Supported providers include AWS Secrets Manager, GCP Secret Manager and Hashicorp Vault. This change applies to both single and multi-target configurations; - Support for custom TLS configuration for MySQL connections, allowing users to specify client and CA certificates via DSN parameters;
- Warmup delay mechanism (
warmup_delay) aimed at preventing the thundering herd problem during startup by staggering collector queries. It's used alongside themin_intervalparameter to populate the cache; - Improved job filter handling to only include
scrape_errors_totalmetrics for jobs specified in the job filters.
Further details are available in the README, and also in the example configuration here.
Precompiled binaries are built with Go v1.25.8
- feat: add TLS config for MySQL driver by @burningalchemist in #907
- feat: resolve cloud secret manager refs for connection strings by @burningalchemist in #918
- feat: add warmup delayed cache population at startup by @burningalchemist in #919
- fix: export scrape_errors_total for related job filters by @burningalchemist in #915
- refactor: use custom registry instead of defaults, fix filteredTargets mutations by @burningalchemist in #916
- build: generate drivers with std lib only [skip ci] by @burningalchemist in #908
CVE addressed:
Updated dependencies
Database drivers
- MSSQL 1.9.7
Others
- aws-sdk-go-v2/config 1.32.10
- aws-sdk-go-v2/service/secretsmanager 1.41.2
- aws/aws-sdk-go-v2 v1.41.2
Full Changelog: 0.19.1...0.20.0