Mercurial > prosody-modules
comparison mod_pubsub_alertmanager/README.md @ 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 | 622c6308d7af |
children | 67190744b1eb |
comparison
equal
deleted
inserted
replaced
4623:622c6308d7af | 4624:eba7e68120d8 |
---|---|
77 ]] | 77 ]] |
78 | 78 |
79 alertmanager_node_template = "alerts/{alert.labels.severity}" | 79 alertmanager_node_template = "alerts/{alert.labels.severity}" |
80 ``` | 80 ``` |
81 | 81 |
82 If no node template is given, either an optional part after | |
83 "pubsub_alertmanager" in the HTTP path is used as node, or the string | |
84 "alerts". Here, an alerts would be published to different nodes based on | |
85 the 'severity' label, so e.g. `alerts/critical` in this example. | |
86 | |
82 ## All Options | 87 ## All Options |
83 | 88 |
84 Available configuration options: | 89 Available configuration options: |
85 | 90 |
86 `alertmanager_body_template` | 91 `alertmanager_body_template` |