A set of plugins to interact with Datadog directly from your builds.
Note
If you want to upgrade from v1 to v2, please follow our migration guide.
- This is a cross bundler plugin (webpack and esbuild for now).
- Very easy to setup and disable on the fly.
Display and send telemetry data as metrics to Datadog.
Full configuration
{
auth?: {
apiKey?: string;
endPoint?: string;
};
logLevel?: 'debug' | 'warn' | 'error' | 'none';
telemetry?: {
disabled?: boolean;
output?: boolean
| string
| {
destination: string;
timings?: boolean;
dependencies?: boolean;
bundler?: boolean;
metrics?: boolean;
logs?: boolean;
};
prefix?: string;
tags?: string[];
timestamp?: number;
filters?: ((metric: Metric) => Metric | null)[];
}
}
default
null
In order to interact with Datadog, you have to use your own API Key.
default:
"app.datadoghq.com"
To which endpoint will the metrics be sent.
default:
'warn'
Which level of log do you want to show.
Check out the CONTRIBUTING.md file for more information.