Skip to content

IvanJosipovic/alertmanager-receiver-azdo

Repository files navigation

alertmanager-receiver-azdo

GitHub Artifact Hub Downloads

What is this?

This project is an API server which implements the Alertmanager Webhook Receiver API. This allows Alertmanager to Create and Resolve Azure DevOps work items.

Features

Installation

Configure Helm Values

Download the default Helm Values

curl https://raw.githubusercontent.com/IvanJosipovic/alertmanager-receiver-azdo/alpha/charts/alertmanager-receiver-azdo/values.yaml --output values.yaml

Modify the settings to fit your needs

Install Helm Chart

helm repo add alertmanager-receiver-azdo https://ivanjosipovic.github.io/alertmanager-receiver-azdo

helm repo update

helm install alertmanager-receiver-azdo alertmanager-receiver-azdo/alertmanager-receiver-azdo --create-namespace --namespace alertmanager-receiver-azdo -f values.yaml

Create Alertmanager Config

apiVersion: monitoring.coreos.com/v1alpha1
kind: AlertmanagerConfig
metadata:
  name: azdo
  namespace: monitoring
  labels:
    alertmanagerConfig: azdo
spec:
  route:
    groupBy: ['namespace']
    groupWait: 30s
    groupInterval: 5m
    repeatInterval: 12h
    receiver: 'webhook'
  receivers:
  - name: 'webhook'
    webhookConfigs:
    - url: 'http://alertmanager-receiver-azdo.alertmanager-receiver-azdo.svc.cluster.local:8080/alert'