https://github.com/tomtom-international/alertmanager-webhook-logger
Generates (structured) log messages from Prometheus AlertManager webhook notifier.
https://github.com/tomtom-international/alertmanager-webhook-logger
Last synced: about 2 months ago
JSON representation
Generates (structured) log messages from Prometheus AlertManager webhook notifier.
- Host: GitHub
- URL: https://github.com/tomtom-international/alertmanager-webhook-logger
- Owner: tomtom-international
- License: apache-2.0
- Created: 2020-01-27T14:11:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-30T08:06:21.000Z (9 months ago)
- Last Synced: 2025-03-30T11:11:17.765Z (2 months ago)
- Language: Go
- Size: 56.6 KB
- Stars: 82
- Watchers: 4
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alertmanager Webhook Logger
Generates (structured) log messages from [Prometheus AlertManager](https://prometheus.io) webhook notifier.
## Rationale
The [Prometheus Alertmanager](https://prometheus.io/docs/alerting/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](https://www.elastic.co/products/), 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](LICENSE)