Datadog
Datadog is optional. In order to enable it install the dependency first:
npm i dd-trace
then add DD_SERVICE
and DD_ENV
in your environment
Configuration
//config/config.js
module.exports = {
datadog: {
blacklistedPaths: ['/health']
}
};
By default health enpoint is blacklisted. You can overwrite this by giving a comma seperated list in your env (DATADOG_BLACKLISTED_PATHS
) or by changing the value in your config.js file.