Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 2.14 KB

INTEGRATING.md

File metadata and controls

71 lines (55 loc) · 2.14 KB

Integrating alertmanager-k8s

Alertmanager integrates with any charm that supports the alertmanager_dispatch interface.

Receivers

At the moment only one receiver per alertmanager deployment is supported, which can be one of:

  • PagerDuty
  • Pushover
  • Webhook

By default, when alertmanager starts without user config, a dummy receiver is generated.

An example deployment with pushover may look as follows:

# deploy alertmanager, name it "am", and provide pushover credentials
juju deploy alertmanager-k8s am \
  --config pushover::user_key=<your key> --config pushover::token=<your_token>

Configuration items are namespaced and key names match exactly the keys expected by alertmananger in alertmanager.yml.

Related charms

Prometheus

Alertmanager is typically deployed together with prometheus:

juju deploy alertmanager-k8s am
juju deploy prometheus-k8s prom
juju relate am prom

which would relate the two charms over the alertmanager_dispatch relation interface.

Scaling alertmanager would automatically update related instances of prometheus.

Karma

Karma provides a super slick dashboard for alertmanager. Check it out with:

juju deploy alertmanager-k8s am
juju deploy karma-k8s karma
juju relate am karma

which would relate the two charms over the karma_dashboard relation interface.

Scaling alertmanager would automatically cause karma to group alerts by cluster.

Karma alertmanager proxy

The karma alertmanager proxy is intended for remote alertmanager deployments. This particular use-case is covered by that charm.