Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/statsite-stackdriver
https://github.com/segment-boneyard/statsite-stackdriver
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/segment-boneyard/statsite-stackdriver
- Owner: segment-boneyard
- Created: 2014-04-25T19:53:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-05T17:23:09.000Z (over 9 years ago)
- Last Synced: 2024-04-09T16:31:14.986Z (7 months ago)
- Language: JavaScript
- Size: 147 KB
- Stars: 4
- Watchers: 39
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# statsite-stackdriver
Stackdriver sink for the [Statsite](https://github.com/armon/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 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
```## 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