Hi all,
The version is PMM 2.19. Currently, if “Integrated Alerting” trigged, the “Labels” column in the “Alerts” page looks like this:
agent_id=/agent_id/95ead5b1-4b44-4dda-99d0-ebc61cc89111
agent_type=mongodb_exporter
alertgroup=PMM Integrated Alerting
alertname=/rule_id/1e8fcdb8-5cc6-42d9-bdf3-494fb689502f
ia=1
instance=/agent_id/95ead5b1-4b44-4dda-99d0-ebc61cc89111
job=mongodb_exporter_agent_id_95ead5b1-4b44-4dda-99d0-ebc61cc89111_hr-5s
machine_id=/machine_id/a45eeb18bfba4df584a828f42156113a
node_id=/node_id/f98a8fbe-9130-4021-8882-f7446be35506
node_name=mongo-169
node_type=generic
rule_id=/rule_id/1e8fcdb8-5cc6-42d9-bdf3-494fb689502f
service_id=/service_id/342afbf2-67a8-40d6-afcf-bc09a496bd0a
service_name= mongo-169-mongodb
service_type=mongodb
severity=critical
template_name=MongoDBDown
Typically, This includes too many information, but we only want to know what happens against which server. So, we want “event name”, “host information” and “event status”. For example, if a mongodb instance was done, we could see “MongoDBDown”, “mongo-169” and “Down”.
Can I change this label by some kind of configuration?
Thank,
Dillon