nsq_to_slack

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 14 Imported by: 0

README

nsq_to_slack

Forward NSQ messages to slack

Docker Image Version (latest semver) GitHub Workflow Status (with branch) Libraries.io dependency status for GitHub repo Dependabot Docker Pulls

Usage

$ ./nsq_to_slack --help
Usage of ./nsq_to_slack:
  -channel value
    	NSQ channel (may be given multiple times)
  -gom
    	Expose Go runtime metrics
  -log value
    	log level (debug, info, warn, error, dpanic, panic, fatal)
  -lookupd-http-address string
    	nsqlookupd HTTP address
  -nsqd-tcp-address string
    	nsqd TCP address (default "localhost:4150")
  -slack-webhook-url string
    	Slack webhook URL
  -topic value
    	NSQ topic (may be given multiple times)

Or in docker:

docker run --rm -p 9090:9090 iamolegga/nsq_to_slack \
  -nsqd-tcp-address=host.docker.internal:4150 \
  -topic foo -channel bar \
  -topic baz -channel qux \
  -slack-webhook-url=https://hooks.slack.com/services/...

Metrics are exposed at /metrics endpoint on :9090 port.

Screenshot

screenshot

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL