Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

etcd-statsd

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

etcd-statsd

pull stats from etcd api and publish to statsd

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Etcd StatsD Build Status

A little app that will poll one or more etcd instances and push their statistics out to statsd.

npm i -g etcd-statsd
etcd-statsd /path/to/config/files/

###Gauges

Store:

  • getsSuccess
  • getsFail
  • setsSuccess
  • setsFail
  • deleteSuccess
  • deleteFail
  • updateSuccess
  • updateFail
  • createSuccess
  • createFail
  • compareAndSwapSuccess
  • compareAndSwapFail
  • compareAndDeleteSuccess
  • compareAndDeleteFail
  • expireCount
  • watchers

Self:

  • recvAppendRequestCnt
  • recvAppendRequestCnt
  • recvPkgRate
  • recvBandwidthRate
  • sendAppendRequestCnt

Leader (foreach follower):

  • latency:
    • current
    • average
    • standardDeviation
    • minimum
    • maximum
  • counts:
    • fail
    • success

###Config Files

###etcd.json

[
  {
    "host": "https://localhost:2379",
    "prefix": "foo.bar.yay", // optional prefix for metrics from this instance
    "tags": {                      // optional, tags are supported by the influxdb backend
      "foo": "bar"
    }
  },
  {
     //...
  }
]

###statsd.json

{
  "host": "localhost",
  "port": 8125,          // default: 8125
  "interval": 10,        // how often to poll the etcd servers, default: 10 seconds
  "debug": true,         // show debug output from the statsd client
  "prefix": "my.stats"   // global prefix for metrics
}

FAQs

Package last updated on 19 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc