From 6c006a13328f6eb388d6cbd0ac3323f3462b3343 Mon Sep 17 00:00:00 2001 From: "suresh.charan" Date: Wed, 15 Dec 2021 05:23:01 -0500 Subject: [AAI] Expose relevant key metrics for monitoring via prometheus The Key metrics are available via endpoints: /actuator/prometheus /actuator/info /actuator/health Issue-ID: AAI-3415 Signed-off-by: Suresh Charan Change-Id: I5760095973c7f3d58a3770e221dee1c3ca9d5370 --- src/main/resources/application.properties | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/resources/application.properties') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 48c6de5..89f8bf7 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -86,3 +86,11 @@ aperture.service.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore aperture.service.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0) aperture.service.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0) aperture.service.timeout-in-milliseconds=300000 + +#To Expose the Prometheus scraping endpoint +management.server.port=8448 +#To Enable Actuator Endpoint, you can override this to True in OOM charts +management.endpoints.enabled-by-default=false +#To Enable Actuator Endpoint, you can override this in OOM Charts +#management.endpoints.web.exposure.include=info, health, loggers, prometheus +management.metrics.web.server.auto-time-requests=false -- cgit 1.2.3-korg