From ca4c9b2a0aca779b5c5cb99eea38f5e2e49b3148 Mon Sep 17 00:00:00 2001 From: Marc Tuduri Date: Tue, 18 Jun 2024 11:50:06 +0200 Subject: [PATCH] Revert changes --- test/integration/internals_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/internals_test.go b/test/integration/internals_test.go index 69c72b29a..ad2559235 100644 --- a/test/integration/internals_test.go +++ b/test/integration/internals_test.go @@ -16,7 +16,7 @@ import ( const ( flushesMetricName = "beyla_ebpf_tracer_flushes" promRequestsMetricName = "prometheus_http_requests" - internalPrometheusMetricsURL = "http://localhost:8999/metrics" + internalPrometheusMetricsURL = "http://localhost:8999/internal/metrics" ) func testInternalPrometheusExport(t *testing.T) { @@ -40,7 +40,7 @@ func testInternalPrometheusExport(t *testing.T) { // prometheus metrics endpoint must have been invoked once at the beginning of the test, // plus once each eventually try assert.Equal(t, 1+eventuallyIterations, - metricValue(t, promRequestsMetricName, map[string]string{"port": "8999", "path": "/metrics"}), + metricValue(t, promRequestsMetricName, map[string]string{"port": "8999", "path": "/internal/metrics"}), ) }