Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 value

Options:
--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
```