Skip to content

Commit

Permalink
docs: add note about alertmanager new template functions
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Chodur <m.chodur@seznam.cz>
  • Loading branch information
FUSAKLA committed Jan 3, 2023
1 parent 975295f commit dceb21c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ When using a reverse proxy, use the following settings when you configure the HT
- Set `-http.alertmanager-http-prefix` to match the proxy path in your reverse proxy configuration.
- Set `-alertmanager.web.external-url` to the URL served by your reverse proxy.

## Templating

The Mimir Alertmanager adds some custom template functions to the default ones of the Prometheus Alertmanager.

| Function | Params | Description |
| ---------- | ------ | ---------------------------------------------- |
| `tenantID` | - | Returns ID of the tenant the alert belongs to. |

## Sharding and replication

The Alertmanager shards and replicates alerts by tenant.
Expand Down

0 comments on commit dceb21c

Please sign in to comment.