From a48bcb8f4404ae7451c80603b52e850a1c37a26b Mon Sep 17 00:00:00 2001 From: Timothee Groleau Date: Wed, 13 Mar 2024 18:40:33 +0800 Subject: [PATCH] chore(telemetry): report runtime metrics --- src/utils/tracer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, })