summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorsuresh.charan <suresh.charan@amdocs.com>2021-12-15 05:23:01 -0500
committersuresh.charan <suresh.charan@amdocs.com>2021-12-15 05:23:01 -0500
commit6c006a13328f6eb388d6cbd0ac3323f3462b3343 (patch)
tree37047bb16fb26cd7e7001f72ddfcfffa7f3b4a31 /src/main
parent0f940df172f04ad5261b2443b296b3ab58faf02c (diff)
[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 <suresh.charan@amdocs.com> Change-Id: I5760095973c7f3d58a3770e221dee1c3ca9d5370
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/application.properties8
1 files changed, 8 insertions, 0 deletions
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