From ca38deaa4ef35fc2a3bc4c84fa5f32fd7eb5f7e9 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Mon, 29 Apr 2024 10:02:33 +0200 Subject: [PATCH] Fix #257: Improve WildFly documentation and configuration --- src/main/resources/application.properties | 3 +++ src/main/webapp/WEB-INF/jboss-deployment-structure.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 50a88e5d..d01f6d28 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -61,3 +61,6 @@ management.tracing.sampling.probability=1.0 #management.endpoints.web.exposure.include=health, prometheus #management.endpoint.prometheus.enabled=true #management.prometheus.metrics.export.enabled=true + +spring.autoconfigure.exclude=\ + org.springframework.boot.actuate.autoconfigure.metrics.jersey.JerseyServerMetricsAutoConfiguration diff --git a/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index d9918a05..7de80dc1 100644 --- a/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -1,5 +1,5 @@ - +