# HG changeset patch # User Kim Alvefur # Date 1626449709 -7200 # Node ID eba7e68120d86e2b369f069ea16261c1ce33a821 # Parent 622c6308d7afc1d21b9c1eed94d2c9aa4f1d0b24 mod_pubsub_alertmanager: Add some words about the node template diff -r 622c6308d7af -r eba7e68120d8 mod_pubsub_alertmanager/README.md --- a/mod_pubsub_alertmanager/README.md Fri Jul 16 17:34:24 2021 +0200 +++ b/mod_pubsub_alertmanager/README.md Fri Jul 16 17:35:09 2021 +0200 @@ -79,6 +79,11 @@ alertmanager_node_template = "alerts/{alert.labels.severity}" ``` +If no node template is given, either an optional part after +"pubsub_alertmanager" in the HTTP path is used as node, or the string +"alerts". Here, an alerts would be published to different nodes based on +the 'severity' label, so e.g. `alerts/critical` in this example. + ## All Options Available configuration options: