Skip to content

gaoyulin/prometheus-webhook-dingtalk

 
 

Repository files navigation

prometheus-webhook-dingtalk

Generating DingTalk notification from Prometheus AlertManager WebHooks.

Building and running

Build

make

Running

./prometheus-webhook-dingtalk <flags>

Usage

usage: prometheus-webhook-dingtalk --ding.profile=DING.PROFILE [<flags>]

Flags:
  -h, --help              Show context-sensitive help (also try --help-long and --help-man).
      --web.listen-address=":8060"
                          The address to listen on for web interface.
      --ding.profile=DING.PROFILE ...
                          Custom DingTalk profile (can be given multiple times, <profile>=<dingtalk-url>).
      --ding.timeout=5s   Timeout for invoking DingTalk webhook.
      --template.file=""  Customized template file (see template/default.tmpl for example)
      --log.level=info    Only log messages with the given severity or above. One of: [debug, info, warn, error]
      --version           Show application version.

Using Docker

You can deploy this tool using the Docker image from following registry:

Packages

No packages published

Languages

  • Go 84.4%
  • Makefile 12.9%
  • Dockerfile 1.4%
  • Shell 1.3%