Skip to content

Generates (structured) log messages from Prometheus AlertManager webhook notifier.

License

Notifications You must be signed in to change notification settings

tomtom-international/alertmanager-webhook-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Alertmanager Webhook Logger

Generates (structured) log messages from Prometheus AlertManager webhook notifier.

Rationale

The Prometheus Alertmanager does not provide any history of alerts. Logging of alerts is the most simple solution to get that history. In combination with log management solutions like Elastic Stack, etc. it should fit most use-cases for a comfortable history of alerts.

Usage

Command line flags:

./alertmanager-webhook-logger -h

Build

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build

Test

go test

License

Under Apache 2.0