controlling the instance label in Prometheus

16 views
Skip to first unread message

Pravin S

unread,
May 13, 2020, 5:57:59 AM5/13/20
to Prometheus Users
Hello,

Prometheus alertmanager currently depict the following information on alertmanager dashboard when alert get fired.

Is there any way to inhibit publishing of the "instance" field as it showing the IP address along with port ?

====================
AlertManager Dashboard:
====================
InstanceDown for mysql-testdb1 (alertname="InstanceDown", alias="mysql-testdb1#", instance="x.x.x.x:9100", job="mysql-testdb1", service="MySQL_srvdown")




thanks
pravin

Brian Candler

unread,
May 13, 2020, 7:57:09 AM5/13/20
to Prometheus Users
If you don't want to show the IP address or port, then the recommended approach is to use meaningful instance labels:

Reply all
Reply to author
Forward
0 new messages