diff --git a/integration-tests/micrometer-prometheus/src/main/resources/application.properties b/integration-tests/micrometer-prometheus/src/main/resources/application.properties index 428a6ca0c2dbf..13aa980e01184 100644 --- a/integration-tests/micrometer-prometheus/src/main/resources/application.properties +++ b/integration-tests/micrometer-prometheus/src/main/resources/application.properties @@ -20,6 +20,7 @@ quarkus.datasource.jdbc.max-size=8 quarkus.micrometer.binder.vertx.ignore-patterns=/fruit/create # Add a property to verify match pattern behavior quarkus.micrometer.binder.http-server.match-patterns=/message/match/\\\\d+/[0-9]+=/message/match/{id}/{sub},\ -/message/match/.*=/message/match/{other} +/message/match/.*=/message/match/{other},\ +/message/item/\\[0-9]+=/message/item/{id} deployment.env=test diff --git a/integration-tests/micrometer-prometheus/src/test/java/io/quarkus/it/micrometer/prometheus/PrometheusMetricsRegistryTest.java b/integration-tests/micrometer-prometheus/src/test/java/io/quarkus/it/micrometer/prometheus/PrometheusMetricsRegistryTest.java index 61e6847edab74..3a64d1c75226e 100644 --- a/integration-tests/micrometer-prometheus/src/test/java/io/quarkus/it/micrometer/prometheus/PrometheusMetricsRegistryTest.java +++ b/integration-tests/micrometer-prometheus/src/test/java/io/quarkus/it/micrometer/prometheus/PrometheusMetricsRegistryTest.java @@ -134,7 +134,7 @@ void testPrometheusScrapeEndpoint() { .body(containsString("status=\"200\"")) .body(containsString("uri=\"/message\"")) - // .body(containsString("uri=\"/message/item/{id}\"")) // https://github.com/quarkusio/quarkus/issues/15593 + .body(containsString("uri=\"/message/item/{id}\"")) .body(containsString("outcome=\"SUCCESS\"")) .body(containsString("uri=\"/message/match/{id}/{sub}\"")) .body(containsString("uri=\"/message/match/{other}\""))