7.6.4 • Published 5 years ago
datadog-middleware-builder v7.6.4
Datadog middleware builder in Typescript
Provides Datadog Node.js integration with Typescript.
Installation
$ npm i datadog-middleware-builderUsage
Express.js integration
import { DatadogMiddlewareBuilder, StatsdSingletonFactory } from 'datadog-middleware-builder';
const getStatsdClient = (): any => {
StatsdSingletonFactory.setupFactory(
Config.DATADOG_AGENT_HOST,
Config.DATADOG_AGENT_PORT,
Config.DATADOG_CACHE_DNS,
Config.DATADOG_GLOBAL_TAGS);
return StatsdSingletonFactory.getStatsdClient();
};
...
app.use(DatadogMiddlewareBuilder.build(getStatsdClient(), Config.DATADOG_SERVICE_NAME));You can check Datadog's documentation to see what are the exposed metrics.
7.6.4
5 years ago
1.0.22
6 years ago
1.0.21
6 years ago
1.0.23
6 years ago
1.0.19
6 years ago
1.0.20
6 years ago
1.0.18
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
7 years ago
1.0.11
7 years ago
1.0.10
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago