We implement a very basic translation layer for when you're using Datadog as a remote sink for your metrics but, e.g. locally you're using Graphite.
-
Datadog: Datagram Format and Shell Usage:
-
Stats: StatsD Metric Types:
Find a Docker container, created from our Dockerfile, at Docker Hub: pauloferrazoliveira/dogstatsd-2-statsd.
To use for the first time:
npm install --omit=dev
Make sure your 8125 is not bound and then:
node index.js
Now start sending your metrics and watch the logs.
- local port 8125 is not bound (this is our input)
- local port 8135 is bound to
statsd
input
First, make sure you have yarn
installed locally.
Then run
npm install
to install dev dependencies.
To lint
npm run lint
To format
npm run format