Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Aug 13, 2019. It is now read-only.
/nats_exporterPublic archive

Prometheus Metrics exporter for NATS

License

NotificationsYou must be signed in to change notification settings

lovoo/nats_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDocBuild Status

NATS exporter forPrometheus, written in Go. It extracts several metrics and provides them via the standard HTTP interface for Prometheus to collect them.

Prometheus enables you to monitor those values and add alerting, if necessary.

Included Metrics

  • Active connections to gnatsd
  • Active routes to gnatsd
  • Count of transferred messages (in/out)
  • Amount of transmitted data (in/out)
  • Number of slow consumers

Usage

Usage of nats_exporter:  -namespace string    Namespace for the NATS metrics. (default "nats")  -nats.addr string    Address of the NATS monitoring. (default "http://localhost:8222/")  -web.listen string    Address on which to expose metrics and web interface. (default ":9118")  -web.path string    Path under which to expose metrics. (default "/metrics")

Building from Source

go get -u github.com/lovoo/nats_exportergo install github.com/lovoo/nats_exporter$GOPATH/bin/nats_exporter

With Docker

docker run -d --name nats_exporter -p 9118:9118 lovoo/nats_exporter:latest -nats.addr http://somehost:8222

Contributing

  1. Fork it!
  2. Create your feature branch:git checkout -b my-new-feature
  3. Commit your changes:git commit -am 'Add some feature'
  4. Push to the branch:git push origin my-new-feature
  5. Submit a pull request

[8]ページ先頭

©2009-2025 Movatter.jp