From fe43edecef38cc06f7c540eaf43016e38f360227 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Thu, 9 Jun 2022 10:03:13 +0100 Subject: Fix configuration for Prometheus metrics JVM related metrics were not being exposed due to spring boot bug when loading beans configuration. Issue-ID: POLICY-4146 Change-Id: I334c60b0c0d087c63b28bf44704aa3e909eca646 Signed-off-by: adheli.tavares --- runtime-acm/src/main/resources/application.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runtime-acm/src/main/resources') diff --git a/runtime-acm/src/main/resources/application.yaml b/runtime-acm/src/main/resources/application.yaml index 0a5bb8b5d..21c754c1a 100644 --- a/runtime-acm/src/main/resources/application.yaml +++ b/runtime-acm/src/main/resources/application.yaml @@ -32,8 +32,6 @@ security: server: port: 6969 - servlet: - context-path: /onap/policy/clamp/acm error: path: /error @@ -62,5 +60,6 @@ runtime: management: endpoints: web: + base-path: / exposure: include: health, metrics, prometheus -- cgit 1.2.3-korg