alertsforge

command module
v0.0.0-...-f75f0dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

alertsforge

magic labels: alertsforge_delay_resolve: 20h alertsforge_escalation_chain: devops


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" } ]'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL