mhshahin / grafagram

Publish Grafana alerts to Telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grafagram

Simple webhook to publish Grafana alerts in a Telegram Channel.

Build

docker build -t grafagram .

Run

$BOT_TOKEN: Create a bot using botfather and get the token.
$CHAT_ID: ID of the chat (group, channel) to publish the incoming events into it.

docker run --restart=unless-stopped -e BOT_TOKEN=$BOT_TOKEN -e CHAT_ID=$CHAT_ID -p 1323:1323 --name=grafagram -d grafagram

About

Publish Grafana alerts to Telegram


Languages

Language:Go 88.9%Language:Dockerfile 7.6%Language:HTML 3.5%