mirror of
https://github.com/hanzo-io/cloud.git
synced 2026-10-30 18:57:42 +00:00
mysqld exporter doesn't support DATA_SOURCE_NAME environment variable. We can either 1. Set host+port in my.cnf 2. Use mysqld.address and mysqld.username arguments mysqld.address isn't supported by older versions of the exporter. So my.cnf is the only option that works everywhere Reference: https://github.com/prometheus/mysqld_exporter/releases/tag/v0.15.0