From 63f8bfd817e969d5cfd72ab8be0666dd8c594708 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 10 Jan 2024 16:11:43 +0100 Subject: [AAI] Fix AAI service monitoring via Prometheus - use correct path to prometheus endpoint - use correct spring properties to expose 8448 port and endpoints Issue-ID: AAI-3720 Change-Id: Ida8a6962213609969c9c1012529418d854832f8e Signed-off-by: Fiete Ostkamp --- .../aai-resources/resources/config/application.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kubernetes/aai/components/aai-resources/resources/config') diff --git a/kubernetes/aai/components/aai-resources/resources/config/application.properties b/kubernetes/aai/components/aai-resources/resources/config/application.properties index 817849fc48..1b7bdf8ff6 100644 --- a/kubernetes/aai/components/aai-resources/resources/config/application.properties +++ b/kubernetes/aai/components/aai-resources/resources/config/application.properties @@ -98,9 +98,9 @@ schema.service.versions.endpoint=versions schema.service.client=no-auth #to expose the Prometheus scraping endpoint -management.port=8448 -management.endpoints.enabled-by-default=false -management.security.enabled=false +management.server.port=8448 +management.endpoints.enabled-by-default=true +management.endpoints.web.exposure.include=info,health,prometheus endpoints.enabled={{ .Values.endpoints.enabled }} endpoints.info.enabled={{ .Values.endpoints.info.enabled }} endpoints.prometheus.enabled={{ .Values.metrics.serviceMonitor.enabled }} -- cgit 1.2.3-korg