From 9ca49c0acc6ed2ff75c9141d2ac7927b52af3756 Mon Sep 17 00:00:00 2001 From: r1viollet Date: Thu, 5 Sep 2024 14:45:03 +0200 Subject: [PATCH] Timeline - Silence linter on memory aliasing --- reporter/datadog_reporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporter/datadog_reporter.go b/reporter/datadog_reporter.go index 90fb1aa..1259a08 100644 --- a/reporter/datadog_reporter.go +++ b/reporter/datadog_reporter.go @@ -530,7 +530,7 @@ func (r *DatadogReporter) getPprofProfile() (profile *pprofile.Profile, if r.timeline { timestamps = traceInfo.timestamps } - addTraceLabels(sample.Label, &traceKey, baseExec, timestamps) + addTraceLabels(sample.Label, &traceKey, baseExec, timestamps) //nolint:gomemory count := int64(len(traceInfo.timestamps)) sample.Value = append(sample.Value, count, count*int64(r.samplingPeriod))