{"library":"dd-trace","type":"library","category":null,"description":"dd-trace is the official Datadog APM tracing client library for Node.js applications, designed to automatically and manually capture performance monitoring data. It provides distributed tracing capabilities, allowing developers to instrument their Node.js services to gain insights into request lifecycles, identify bottlenecks, and monitor service health within the Datadog platform. The current stable release line is `v5`, with the latest version being `5.97.0`. Datadog maintains a regular release cadence for patch and minor versions, often weekly or bi-weekly, to introduce new features, improvements, and bug fixes, while major versions are released less frequently, with `v5` being released in January 2024. A key differentiator is its deep integration with the Datadog ecosystem, offering automatic instrumentation for popular Node.js frameworks and libraries, support for Single-Step Install (SSI), and Kubernetes Injection. It requires a Datadog Agent to be running to collect and forward the captured trace data.","language":"javascript","status":"active","version":"5.97.0","tags":["javascript","datadog","trace","tracing","profile","profiler","profiling","opentracing","apm","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dd-trace","imports":["import tracer from 'dd-trace';\ntracer.init();","import tracer from 'dd-trace';\nconst span = tracer.startSpan('my.operation');","import type { Span, SpanOptions } from 'dd-trace';"]},{"cmd":"yarn add dd-trace","imports":[]},{"cmd":"pnpm add dd-trace","imports":[]}],"homepage":"https://www.datadoghq.com","github":"https://github.com/DataDog/dd-trace-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dd-trace","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/dd-trace/compatibility"}}