Skip to content

SWCE/consul_telemetry_exporter

Repository files navigation

Warning: this project as been deprecated

This project has been deprecated in favor of https://www.consul.io/api/agent.html#view-metrics

Consul Telemetry Exporter

Build Status Coverage Status bitHound Overall Score Known Vulnerabilities dependencies Status devDependencies Status HitCount

NPM

dockeri.co

Prometheus exporter for consul telemetry metrics.

Any reported metric on the metrics endpoint will be exposed.

Installation

$ npm install -g consul-telemetry-exporter

running

$ consul-telemetry-exporter

Will run on port 9320 by default, can be override using the PORT env variable

Will use consul host from CONSUL_HOST or HOSTNAME env variables or the localhost in that order

Will use port 8500 port by default, can be override using the CONSUL_PORT env variable

Will use http scheme by default, can be override using the CONSUL_SCHEME env variable