aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDimple Soni <dimple.soni@yoppworks.com>2021-08-12 18:49:18 -0400
committerDimple Soni <dimple.soni@yoppworks.com>2021-08-18 10:30:56 -0400
commit0960d01721345589c6d52254f3889f59313ff614 (patch)
tree9eccb4dde71562582ad9984665a2b7696466a80e /aai-resources/src/main/resources/application.properties
parent364dbfd6f51650718d803c7249fe854370eb901e (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: I7879c7e6a5ae9b3a3943f4accceede0c7ba2ade0
Diffstat (limited to 'aai-resources/src/main/resources/application.properties')
-rw-r--r--aai-resources/src/main/resources/application.properties10
1 files changed, 7 insertions, 3 deletions
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties
index cd19be9..d80079d 100644
--- a/aai-resources/src/main/resources/application.properties
+++ b/aai-resources/src/main/resources/application.properties
@@ -95,12 +95,16 @@ schema.service.versions.override=false
#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}
+# management.metrics.tags.aai_uri=${schema.uri.base.path}
+#It is not advisable to use labels to store dimensions with high cardinality.
+#Enable this option only for debug purposes. For more information: https://github.com/micrometer-metrics/micrometer/issues/1584
+scrape.uri.metrics=false
# Location of the cadi properties file should be specified here
aaf.cadi.file=${server.local.startpath}/cadi.properties