DataDog / build-plugins

Track your build performances like never before.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Datadog Build Plugins

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.


✨ Key takeaways ✨

  • This is a cross bundler plugin (webpack and esbuild for now).
  • Very easy to setup and disable on the fly.

Table of content

Plugins

telemetry Telemetry Plugin

Display and send telemetry data as metrics to Datadog.

📝 Full documentation ➡️

Configuration

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)[];
    }
}

auth.apiKey

default null

In order to interact with Datadog, you have to use your own API Key.

auth.endPoint

default: "app.datadoghq.com"

To which endpoint will the metrics be sent.

logLevel

default: 'warn'

Which level of log do you want to show.


Contributing

Check out the CONTRIBUTING.md file for more information.


License

MIT


Back to top ⬆️

About

Track your build performances like never before.

License:MIT License


Languages

Language:TypeScript 91.9%Language:JavaScript 8.1%