pjack2001 / loki-alerts-docker

Alerting with Loki v2 on Docker Example

Home Page:https://ruan.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Alerting with Loki v2 on Docker Example

https://ruan.dev


Languages

Language:Shell 100.0%