Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
marctc committed Jun 18, 2024
1 parent ec2c177 commit ca4c9b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/internals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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"}),
)
}

Expand Down

0 comments on commit ca4c9b2

Please sign in to comment.