Git Product home page Git Product logo

nsq-metrics's Introduction

NSQ Metrics

GoDoc

NSQ metrics exporter for prometheus.io, written in go.

Building

make

OR

go install github.com/spiegeltechlab/nsq-metrics@latest

Config

env flag description default
NSQ_METRICS_WEB_LISTEN_ADDRESS web.listen Address on which to expose metrics and web interface. :9117
NSQ_METRICS_WEB_PATH web.path Path under which to expose metrics. /metrics
NSQ_METRICS_NSQD_ADDRESS nsqd.address Address of the nsqd node. http://localhost:4151/stats
NSQ_METRICS_ENABLED_COLLECTORS collectors Comma-separated list of collectors to use. See collectors below for possible values stats.topics,stats.channels
NSQ_METRICS_NAMESPACE namespace Namespace for the NSQ metrics. nsq
NSQ_METRICS_TLS_CA_CERT tls.ca-cert CA certificate file to be used for nsqd connections. ""
NSQ_METRICS_TLS_CERT tls.cert TLS certificate file to be used for client connections to nsqd. ""
NSQ_METRICS_TLS_KEY tls.key TLS key file to be used for TLS client connections to nsqd. ""

Collectors for ENABLED_COLLECTORS or collectors config

Topics (stats.topics)

Exported metrics: nsq_topic_backend_depth nsq_topic_channel_count nsq_topic_depth nsq_topic_e2e_latency_95_percentile nsq_topic_e2e_latency_99_percentile nsq_topic_message_count

Channels (stats.channels)

Exported metrics: nsq_channel_backend_depth nsq_channel_client_count nsq_channel_deferred_count nsq_channel_depth nsq_channel_e2e_latency_95p nsq_channel_e2e_latency_99p nsq_channel_in_flight_count nsq_channel_message_count nsq_channel_requeue_count nsq_channel_requeue_count nsq_channel_timeout_count

Clients (stats.clients)

nsq_client_connect_ts nsq_client_finish_count nsq_client_in_flight_count nsq_client_message_count nsq_client_ready_count nsq_client_requeue_count nsq_client_sample_rate nsq_client_state

Producers (stats.producers)

nsq_producer_finish_count nsq_producer_in_flight_count nsq_producer_message_count nsq_producer_pub_rate nsq_producer_ready_count nsq_producer_requeue_count nsq_producer_sample_rate nsq_producer_state

nsq-metrics's People

Contributors

0x46616c6b avatar nordicdyno avatar ickymettle avatar tecbot avatar zwopir avatar

Stargazers

 avatar Dudley Carr avatar Leon Kunert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.