Fix Prometheus mysqld exporter pointing to VIP address

Change-Id: I4f553bd0888e200ddf744604c5029e67a95ee2cd
Closes-bug: #1863041
(cherry picked from commit 410fcc6363)
This commit is contained in:
Radosław Piliszek 2020-02-13 09:28:43 +01:00
parent 62f44ad51d
commit aea4b7cc0b
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[client]
host={{ database_address }}
port={{ database_port }}
host={{ api_interface_address }}
port={{ mariadb_port }}
user={{ prometheus_mysql_exporter_database_user }}
password={{ prometheus_mysql_exporter_database_password }}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Each Prometheus mysqld exporter points now to its local mysqld
instance (MariaDB) instead of VIP address.
`LP#1863041 <https://launchpad.net/bugs/1863041>`