From 90a95100f48a7677a4589ea886de1d6f530b6afb Mon Sep 17 00:00:00 2001 From: Tommy Reilly Date: Wed, 4 Dec 2024 10:59:16 -0500 Subject: [PATCH] Update to point to otel head (#3005) * Update go.mod to pick up node V8 arm enablement * Pass VerboseLogging down to DebugTracer otel config --- go.mod | 2 +- go.sum | 4 ++-- main.go | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 1c6831a296..160048277d 100644 --- a/go.mod +++ b/go.mod @@ -149,4 +149,4 @@ require ( sigs.k8s.io/yaml v1.3.0 // indirect ) -replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20241120193926-2195ed9b3e07 +replace go.opentelemetry.io/ebpf-profiler => github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20241204152632-1aae367d08c4 diff --git a/go.sum b/go.sum index 04825067a6..4eeae33eaa 100644 --- a/go.sum +++ b/go.sum @@ -256,8 +256,8 @@ github.com/opencontainers/runtime-spec v1.1.0 h1:HHUyrt9mwHUjtasSbXSMvs4cyFxh+Bl github.com/opencontainers/runtime-spec v1.1.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/selinux v1.11.0 h1:+5Zbo97w3Lbmb3PeqQtpmTkMwsW5nRI3YaLpt7tQ7oU= github.com/opencontainers/selinux v1.11.0/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec= -github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20241120193926-2195ed9b3e07 h1:xtBlQNEDZehAUUnAvaoGPRrd/LZrglSai8AhEC8ibFw= -github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20241120193926-2195ed9b3e07/go.mod h1:w5yygcS9iUpFVRk1rgfkBPtfrRql+CRlBBHvbAQXDEk= +github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20241204152632-1aae367d08c4 h1:5LVhhFfEKKvJ6EHXaPD632nKfg0QsbdDgD8u4e89MUc= +github.com/parca-dev/opentelemetry-ebpf-profiler v0.0.0-20241204152632-1aae367d08c4/go.mod h1:w5yygcS9iUpFVRk1rgfkBPtfrRql+CRlBBHvbAQXDEk= github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0= github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= github.com/pierrec/lz4/v4 v4.1.21 h1:yOVMLb6qSIDP67pl/5F7RepeKYu/VmTyEXvuMI5d9mQ= diff --git a/main.go b/main.go index 182f5f6dc1..a104f6f4da 100644 --- a/main.go +++ b/main.go @@ -318,6 +318,7 @@ func mainWithExitCode() flags.ExitCode { // Load the eBPF code and map definitions trc, err := tracer.NewTracer(mainCtx, &tracer.Config{ + DebugTracer: f.BPF.VerboseLogging, Reporter: rep, Intervals: intervals, IncludeTracers: includeTracers,