aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManisha Aggarwal <amanisha@att.com>2022-11-09 13:14:31 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-09 13:14:31 +0000
commit13c93cbab89367a554cf8de1204a9bec9727ff3c (patch)
treeb3e012a626ca6da061ceb09aa27f90630830b663
parent871fde21f302a25f08d609bb661c8dd7364d3e14 (diff)
parentf7f92511621be97cfc0af48baadb20c733eed541 (diff)
Merge "Add latency metrics configurations for AAI-resources" into jakarta
-rw-r--r--aai-resources/src/main/resources/application.properties4
1 files changed, 3 insertions, 1 deletions
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties
index 31169cd..9383b42 100644
--- a/aai-resources/src/main/resources/application.properties
+++ b/aai-resources/src/main/resources/application.properties
@@ -99,10 +99,12 @@ 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.metrics.web.server.auto-time-requests=false
+management.metrics.distribution.percentiles-histogram[http.server.requests]=true
+management.metrics.distribution.sla[http.server.requests]=20ms, 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 500ms, 1000ms, 5000ms, 7000ms
management.metrics.tags.group_id=aai
# 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.
+#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