How to add custom labels to the exposet mysql-exporter metrics?

Viewed 286

I am using mysql-exporter to expose metrics.

Is there a way to add custom labels to the exposed metrics?

I have few environment variables like environment name, cluster name, hostname which I will like to be part of each metric.

Is there a way to do it?

0 Answers
Related