From 310eb9a3c75a4aa290e206f65d7a50d63f7e8677 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Thu, 29 Jun 2023 17:02:00 -0700 Subject: [PATCH] use /proc for PROC_HOST --- service/internal/proctelemetry/process_telemetry_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/internal/proctelemetry/process_telemetry_test.go b/service/internal/proctelemetry/process_telemetry_test.go index 63dba458aff..ca53b3dd2b3 100644 --- a/service/internal/proctelemetry/process_telemetry_test.go +++ b/service/internal/proctelemetry/process_telemetry_test.go @@ -173,7 +173,7 @@ func TestOCProcessTelemetryWithHostProc(t *testing.T) { // Make the sure the environment variable value is not used. t.Setenv("HOST_PROC", "foo/bar") - require.NoError(t, RegisterProcessMetrics(ocRegistry, noop.NewMeterProvider(), false, 0, "/host/proc")) + require.NoError(t, RegisterProcessMetrics(ocRegistry, noop.NewMeterProvider(), false, 0, "/proc")) // Check that the metrics are actually filled. <-time.After(200 * time.Millisecond)