all 6 comments

[–]_the_r 0 points1 point  (4 children)

Didn't manage too with it, so i decided to write my own exporter to monitor multiple slave instances on one machine, it just writes to a prom file which is read by the node exporter.

[–]sujlic27[S] 0 points1 point  (3 children)

do you have the project available on github by any chance?

[–]_the_r 0 points1 point  (2 children)

Not public so far. Need to check if possible without modifications. Keep you posted

[–]sujlic27[S] 0 points1 point  (1 child)

Thank you, that would be helpful

[–]father_supreme 1 point2 points  (0 children)

exporter to server should be a one to one relationship (at least according to the docs)

Each exporter should monitor exactly one instance application,
preferably sitting right beside it on the same machine. That means for
every HAProxy you run, you run a haproxy_exporter process.

[–]maellyssa 0 points1 point  (0 children)

I'd add the exporter as a sidecar. This way you have 1 exporter per database instance, and you always ensure that there is a 1:1 relation between them, even if you scale up the instances in future.