Skip to content

Prometheus alerts transform & enrich in various ways

License

Notifications You must be signed in to change notification settings

thepureapp/alertsforge

 
 

Repository files navigation

alertsforge


curl command example to post test alert to alertsforge buffer curl --location 'http://127.0.0.1:8080/alertWebhook/api/v2/alerts'
--header 'Content-Type: application/json'
--data '[ { "labels": { "alertgroup": "oom-alerts", "alertname": "container-oom", "alertsforge_title": "test alertgroup", "channel": "alerts-p2", "cluster": "app", "instance": "10.1.1.1:8080", "test": "test", "namespace": "prod", "pod": "app", "container": "app", "severity": "p2" }, "annotations": { "description": "test! container restart", "summary": "test! restart" }, "startsAt": "2024-06-05T19:10:47.047759595Z", "endsAt": "2024-06-05T19:12:47.047759595Z" } ]'

magic labels __alertsforge_do_not_send_resolved alertsforge_delay_resolve

Env config variables AF_PORT AF_CONFIG_PATH AF_ONCALL_API_URL AF_ONCALL_BEARER AF_SLACK_TOKEN AF_STORAGE_PATH AF_RESINK_TIME AF_DEFAULT_RESOLVE_DELAY AF_GRAFANA_BEARER AF_ENRICH_RESOLVED

About

Prometheus alerts transform & enrich in various ways

Resources

License

Stars

Watchers

Forks

Languages

  • Go 97.3%
  • Dockerfile 2.7%