forked from canonical/alertmanager-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yaml
50 lines (43 loc) · 1.61 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
name: alertmanager-k8s
summary: |
Kubernetes charm for Alertmanager.
description: |
Alertmanager handles alerts sent by client applications such as the Prometheus server.
It takes care of deduplicating, grouping, and routing them to the correct receiver integrations
such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.
# workload containers
containers:
alertmanager: # container key used by pebble
resource: alertmanager-image
mounts:
- storage: data
# nflogs and silences files go here. With a mounted storage for silences, they persist
# across container restarts.
# This path is passed to alertmanager via the `--storage.path` cli argument.
location: /alertmanager
# oci-image resources for each container defined above
resources:
alertmanager-image:
type: oci-image
description: OCI image for alertmanager
upstream-source: ubuntu/prometheus-alertmanager:0.21-20.04_beta
provides:
alerting:
# The provider (alertmanager) adds the following key-value pair to the relation data bag of
# every alertmanager unit:
# "public_address": <ip_address>:<port>
interface: alertmanager_dispatch
# assumed network type: private
karma-dashboard:
interface: karma_dashboard
peers:
replicas:
interface: alertmanager_replica
# assumed network type: private
storage:
data:
type: filesystem
description: >
Storage path passed to alertmanager via --storage.path argument and used for nflog and silences snapshot