{"repo":"DataDog/build-plugins","free":true,"listed":false,"github":"https://github.com/DataDog/build-plugins","clone":"git clone https://github.com/DataDog/build-plugins.git","description":"A set of universal bundler plugins to interact with Datadog directly from your builds.","language":"TypeScript","stars":110,"topics":["build","metrics","monitoring","bundler-plugin","rollup-plugin","vite-plugin","webpack-plugin","esbuild-plugin","rspack-plugin"],"license":"MIT","category":"analytics","readme_excerpt":"Datadog Build Plugins A set of bundler plugins for: - esbuild @datadog/esbuild-plugin - Rollup @datadog/rollup-plugin - Rspack @datadog/rspack-plugin - Vite @datadog/vite-plugin - Webpack @datadog/webpack-plugin To interact with Datadog directly from your builds. [!NOTE] Migrations : - v1 to v2. - v2 to v3. Table of content - Installation - Usage - Configuration - auth.apiKey - auth.appKey - auth.site - customPlugins - enableGit - logLevel - metadata.name - metadata.version - Features - Error Tracking - Metrics - Output - RUM - Contributing - License Installation - Yarn - npm Usage In your bundler's configuration file: [!TIP] It is best to have the plugin in the first position in order to report every other plugins. Follow the specific documentation for each bundler: - esbuild @datadog/esbuild-plugin - Rollup @datadog/rollup-plugin - Rspack @datadog/rspack-plugin - Vite @datadog/vite-plugin - Webpack @datadog/webpack-plugin Configuration Full configuration object auth.apiKey default null In order to interact with Datadog, you have to use your own API Key. auth.appKey default null In order to interact with Datadog, you have to use your own Application Key. auth.site default 'datadoghq.com' The Datadog site to use APIs from, and which Datadog site telemetry metrics and error tracking sourcemaps are sent to. Must be one of the documented Datadog sites: - 'datadoghq.com' - 'us3.datadoghq.com' - 'us5.datadoghq.com' - 'datadoghq.eu' - 'ddog-gov.com' - 'us2.ddog-gov.com' - 'ap1.data","default_branch":null,"files":null,"tree":[],"storefront":"/r/DataDog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DataDog/build-plugins/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}