0.3.0 • Published 5 years ago

@atex/ace-starterkit-grafana-slack v0.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

ace-grafana-slack

A utility to quickly add the ability to get slack notifications from Grafana alerts in ace-starterkit. To be able to push images to slack those images has to be publicly available on the Internet. This utility can set up a tunnel (use --tunnel option) using ngrok to acheive that.

How to setup a simple slack workspace web-hook

Install

$ npm install @atex/ace-starterkit-grafana-slack -g    # Install as global
$ ace-starterkit-grafana-slack --help                  # command is now available

Developer setup

$ git clone ...             # Clone the repository
$ cd ace-grafana-slack      # Navigate to dir
$ npm install -g            # Install it globally
$ npm link                  # links the global installation to this directory

Changes made to the code will now take effect immediately.

Uninstalling

$ npm uninstall -g          # Or, npm uninstall ace-starterkit-grafana-slack -g