Hapi Datadog Reporter
⚠️ This plugin is built for Hapi 8 and doesn't currently support any older versions.
🚧 This plugin is still in it's initial stages of development and shouldn't be used in production.
Firstly install the node module:
npm install --save hapi-datadog
Then add the plugin to your server:
var Hapi = ;var HapiDatadog = ;var StatsD = StatsD;var server = ;server;
❕ Note that you will need to have the DataDog agent installed on your server so that stats can be reported back.
- http.response.count as a counter for the number of requests
- http.response.time as the time taken to send a response to the request