Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruanbekker/loki-alerts-docker
Alerting with Loki v2 on Docker Example
https://github.com/ruanbekker/loki-alerts-docker
alerting alertmanager docker grafana loki slack
Last synced: 7 days ago
JSON representation
Alerting with Loki v2 on Docker Example
- Host: GitHub
- URL: https://github.com/ruanbekker/loki-alerts-docker
- Owner: ruanbekker
- Created: 2020-11-06T14:15:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-11T23:37:05.000Z (over 1 year ago)
- Last Synced: 2024-08-01T10:17:30.840Z (3 months ago)
- Topics: alerting, alertmanager, docker, grafana, loki, slack
- Language: Shell
- Homepage: https://ruan.dev
- Size: 10.7 KB
- Stars: 34
- Watchers: 4
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - ruanbekker/loki-alerts-docker - Alerting with Loki v2 on Docker Example (docker)
README
# loki-alerts-docker
Alerting with Loki v2 on Docker Example## Usage
Dependency is to install the loki docker driver:
```
$ docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions
```Replace your config:
```
$ SLACK_WEBHOOK_URL="https://hooks.slack.com/services/xx/xx/xx" SLACK_CHANNEL="#notifications" ./parse_configs.sh
```Boot the stack:
```
$ docker-compose up -d
```Then follow the [blogpost](https://blog.ruanbekker.com/blog/2020/11/06/how-to-setup-alerting-with-loki/):
- https://blog.ruanbekker.com/blog/2020/11/06/how-to-setup-alerting-with-loki/