Skip to content

AlertManager

This checks Prometheus AlertManager ...

Example
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
  name: cloudwatch-check
spec:
  schedule: "*/5 * * * *"
  alertmanager:
    - auth:
        username:
          value: admin
        password:
          passowrd: secretpassword
Field Description Scheme Required
name Name of the check string
description Description for the check string
icon Icon for overwriting default icon on the dashboard string
labels Labels for check map[string]string
test Template to test the result against Template
display Template to display the result in Template
transform Template for transformation Template
host Template for transformation string
auth Credentials for AlertManager Authentication
alerts Cloudwatch HTTP Endpoint to establish connection []string
filters Used to filter the objects map[string]string
ignore Region for cloudwatch []string

Scheme Reference

Template

Field Description Scheme Required
jsonPath Specify path to JSON element for use in template string
template Specify Go template for use string
expr Specify expression for use in template string
javascript Specify javascript syntax to run for template string

Authentication

Field Description Scheme Required
username Specify the username. kommons.EnvVar
password Specify the password. kommons.EnvVar