Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/therebelrobot/stats-cli
A command line utility to send data events into datadog.
https://github.com/therebelrobot/stats-cli
Last synced: 9 days ago
JSON representation
A command line utility to send data events into datadog.
- Host: GitHub
- URL: https://github.com/therebelrobot/stats-cli
- Owner: therebelrobot
- License: mit
- Created: 2017-09-21T17:46:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T02:09:33.000Z (almost 7 years ago)
- Last Synced: 2024-12-08T16:43:06.090Z (about 1 month ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stats-cli
A command line utility to send data events into datadog## installation
```
npm install -g @therebel/stats-cli
```## Usage
```
$ stats --help
Commands:
gauge Send gauge value
count Send count value
increment Increment by val or 1
histogram Send histogram valueOptions:
--help Show help [boolean]
--version Show version number [boolean]
-h, --host the hostname reported with each metric [required]
-s, --service the name of the service, normalized [required]
-e, --env the name of the environment [required]
-k, --key your datadog api key
--verbose, -V [default: false]
```Additional Options:
```
-m, --metric normalized metric name to register within datadog [required]
-v, --value amount to send [required (except for incr and decr)]
-t, --tag tag to list with it, multiples allowed
```