Socket
Book a DemoInstallSign in
Socket

statsite-stackdriver

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

statsite-stackdriver

statsite statsd stackdriver sink

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

statsite-stackdriver

Stackdriver sink for the Statsite statsd implementation.

Installation

$ npm install -g statsite-stackdriver

Usage


  Usage: statsite-stackdriver [options]

  Options:

    -h, --help       output usage information
    -V, --version    output the version number
    -k, --key <key>  stackdriver api key
    -v, --verbose    verbose output

Configuration

Just add the command to your Statsite configuration, supplying the API key and you're good to go! Use --verbose to output the metrics being sent to stackdriver.

stream_cmd = statsite-stackdriver --key <stackdriver-api-key>

Instance metrics

Along with regular metrics you may also specify the origin instance id by wrapping the first segment in [ ] characters. For example where you might typically do statsd.timer('request', delta), prefix with the id: statsd.timer('[instance-id-here].request', delta).

License

MIT

FAQs

Package last updated on 15 Sep 2014

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