From fc52f43ddc69d9adcc586009d7c4c7b102ad7e6d Mon Sep 17 00:00:00 2001 From: Bryce Kahle Date: Tue, 30 Jul 2024 12:46:41 -0700 Subject: [PATCH] add missing NPM perf map telemetry (#28073) --- pkg/network/tracer/connection/util/conn_tracer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/network/tracer/connection/util/conn_tracer.go b/pkg/network/tracer/connection/util/conn_tracer.go index 036c38973ef31..b97bf1272ae65 100644 --- a/pkg/network/tracer/connection/util/conn_tracer.go +++ b/pkg/network/tracer/connection/util/conn_tracer.go @@ -111,6 +111,7 @@ func SetupHandler(eventHandler ebpf.EventHandler, mgr *ebpf.Manager, cfg *config }, } mgr.PerfMaps = append(mgr.PerfMaps, pm) + ebpftelemetry.ReportPerfMapTelemetry(pm) helperCallRemover := ebpf.NewHelperCallRemover(asm.FnRingbufOutput) err := helperCallRemover.BeforeInit(mgr.Manager, nil) if err != nil {