Software /
code /
prosody-modules
Changeset
4624:eba7e68120d8
mod_pubsub_alertmanager: Add some words about the node template
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Jul 2021 17:35:09 +0200 |
parents | 4623:622c6308d7af |
children | 4625:f7e26c43a9bc |
files | mod_pubsub_alertmanager/README.md |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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: