diff --git a/src/utils/tracer.ts b/src/utils/tracer.ts index 39d39811a..85e8c9c60 100644 --- a/src/utils/tracer.ts +++ b/src/utils/tracer.ts @@ -1,7 +1,8 @@ import tracer from "dd-trace" tracer.init({ - logInjection: true, + logInjection: true, // https://docs.datadoghq.com/tracing/other_telemetry/connect_logs_and_traces/nodejs/ + runtimeMetrics: true, // https://docs.datadoghq.com/tracing/metrics/runtime_metrics/nodejs sampleRate: 1, })