Files
Aditya Hase 6fa50e9ae9 fix(mysql): Set host+port in my.cnf for mysqld_exporter
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
2024-12-13 16:50:18 +05:30
..