pm2-datadog

Forward application metrics and events to Datadog

Usage no npm install needed!

<script type="module">
  import pm2Datadog from 'https://cdn.skypack.dev/pm2-datadog';
</script>

README

pm2-datadog

This is a PM2 module to report application metrics and events in pm2 to Datadog.

Quick start

Install the module:

pm2 install pm2-datadog

Configuration variables

Variable Description Default
global_tags A list of global tags to send with every metric/event [None]
host The hostname or IP address of the DogStatsD daemon localhost
interval The polling interval for reporting metrics 10000
port The port for the DogStatsD daemon 8125

To set a configuration variable, please run the following in your project directory:

pm2 set pm2-datadog:<variable> <value>

Release

❯ npm version [<new version> | major | minor | patch] -m "Release %s"

License

MIT