Skip to content

Commit

Permalink
use /proc for HOST_PROC
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Jun 30, 2023
1 parent 0c69cc2 commit a2ce366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/internal/proctelemetry/process_telemetry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a2ce366

Please sign in to comment.