aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/resources
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2022-06-09 10:03:13 +0100
committeradheli.tavares <adheli.tavares@est.tech>2022-06-09 10:05:15 +0100
commitfe43edecef38cc06f7c540eaf43016e38f360227 (patch)
tree5b7535d3440c661385b3d2d02dff3652ab69b5e9 /runtime-acm/src/main/resources
parente7deff07e3b30ef564ced876bdfe0b68911965a8 (diff)
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 <adheli.tavares@est.tech>
Diffstat (limited to 'runtime-acm/src/main/resources')
-rw-r--r--runtime-acm/src/main/resources/application.yaml3
1 files changed, 1 insertions, 2 deletions
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