summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDimple Soni <dimple.soni@yoppworks.com>2021-08-12 18:50:29 -0400
committerDimple Soni <dimple.soni@yoppworks.com>2021-08-18 10:28:14 -0400
commit9897b61766f53cf02d92d5debd9ec2457fb2750d (patch)
treee1eb570646a1b7c82ef7a985ad213029e35cec64 /aai-traversal/src/main/resources/application.properties
parentfd3ec07e00ff409d92fea0a3ae11260669a9197a (diff)
[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag configurable)
Issue-ID: AAI-3367 Signed-off-by: Dimple Soni <dimple.soni@yoppworks.com>" Change-Id: If8a5734c702242a292eeb6c9c26a844242e1f849
Diffstat (limited to 'aai-traversal/src/main/resources/application.properties')
-rw-r--r--aai-traversal/src/main/resources/application.properties8
1 files changed, 5 insertions, 3 deletions
diff --git a/aai-traversal/src/main/resources/application.properties b/aai-traversal/src/main/resources/application.properties
index 4ef501b..531cdc2 100644
--- a/aai-traversal/src/main/resources/application.properties
+++ b/aai-traversal/src/main/resources/application.properties
@@ -117,9 +117,11 @@ history.truncate.window.days=365
#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
+management.endpoints.enabled-by-default=true
#To Enable Actuator Endpoint, you can override this in OOM Charts
-#management.endpoints.web.exposure.include=info, health, prometheus
+management.endpoints.web.exposure.include=info, health, prometheus
management.metrics.web.server.auto-time-requests=false
management.metrics.tags.group_id=aai
-management.metrics.tags.app_id=${info.build.artifact}
+# management.metrics.tags.app_id=${info.build.artifact}
+#Enable this option only for debug purposes. For more information: https://github.com/micrometer-metrics/micrometer/issues/1584
+scrape.uri.metrics=true