Hapi metrics plugin for HTTP requests This plugin uses measured to gather request and memory metrics and supports statsd.
Add this plugin to your Hapi Composer Manifest.
path
- http route path for metrics data, /-/metrics
by default.
statsd
- an object containing statsd options.
Example:
{
"host": "localhost",
"port": 8125,
"interval": 5000,
"scope": ""
}
Hit settings.path
or /-/metrics
by default.