Question
· Nov 13

Monitoring - Adding multiple labels to a custom metric

Hello,

I want to upload a "custom" metric in prometheus (queue).

For now, in version 2022, I have the impression that we cannot add multiple labels and yet the basic metrics know how to do it.

ex: standard metric

iris_interop_messages_per_sec{cluster="1", host="xxxx", id="API", instance="xxxx:80", job="SAM", production="xxxx"}

my current example: I would like to be able to at least add the production, just to have the source of the measurement.

my_iris_queue{cluster="1", id="xxxx", instance="xxx", job="SAM"}
Do you have any idea how to do this? I remind you that in version 2022, we don't have the SetSensorsLabel method!

Thanks in advance

Discussion (2)1
Log in or sign up to continue