Skip to content

Commit

Permalink
change url
Browse files Browse the repository at this point in the history
  • Loading branch information
marctc committed Jun 18, 2024
1 parent ef15029 commit ec2c177
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/internal/metrics"
internalPrometheusMetricsURL = "http://localhost:8999/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": "/internal/metrics"}),
metricValue(t, promRequestsMetricName, map[string]string{"port": "8999", "path": "/metrics"}),
)
}

Expand Down

0 comments on commit ec2c177

Please sign in to comment.