Skip to content

Tiny express app to forward Grafana alerts to a Matrix room.

Notifications You must be signed in to change notification settings

qasimwarraich/hookenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hookenger

What is this?

Hookenger is a small express app designed to forward alert messages from Grafana to a Matrix room via a webhook trigger.

Configuration

This app is configured for local development via a .env file. It is however also possible to use Hookenger as a cloud function (tested with GCP). In this case it is recommended you supply your environment variables using your cloud provider's utility for managing runtime environment variables.

Configuration values:

ENVIRONMENT=Local # For local develolpment.
PORT=6969 # For local development

MATRIX_URL="https://matrix.org"
ROOM_ID="!roomid:matrix.org"
USER_ID="@bot-id:matrix.org"
USER_ACCESS_TOKEN="bot-access-token"

About

Tiny express app to forward Grafana alerts to a Matrix room.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published