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-graphadmin/resources/config/application.properties | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'kubernetes/aai/components/aai-graphadmin/resources') diff --git a/kubernetes/aai/components/aai-graphadmin/resources/config/application.properties b/kubernetes/aai/components/aai-graphadmin/resources/config/application.properties index 37d02a0629..b63cd83158 100644 --- a/kubernetes/aai/components/aai-graphadmin/resources/config/application.properties +++ b/kubernetes/aai/components/aai-graphadmin/resources/config/application.properties @@ -5,7 +5,7 @@ # ================================================================================ # Copyright � 2018 AT&T Intellectual Property. All rights reserved. # Modifications Copyright © 2021 Orange -# Modifications Copyright © 2023 Nordix Foundation +# Modifications Copyright � 2023 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -103,6 +103,8 @@ aperture.service.base.url=http://localhost:8457/aai/aperture aperture.service.timeout-in-milliseconds=300000 #To Expose the Prometheus scraping endpoint -management.port=8448 +management.server.port=8448 +management.endpoints.enabled-by-default=true +management.endpoints.web.exposure.include=info,health,prometheus endpoints.enabled=false management.security.enabled=false \ No newline at end of file -- cgit 1.2.3-korg