aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleila <leila.nishimwe@bell.ca>2022-09-23 12:31:06 -0400
committerWilliam Reehil <william.reehil@att.com>2022-11-08 19:10:21 +0000
commitf7f92511621be97cfc0af48baadb20c733eed541 (patch)
tree1178506189794ac5d4532a53e94b26fb4b445656
parent0f1bb7144ac57dd7cf8ca6a29f414cf82f0a8669 (diff)
Add latency metrics configurations for AAI-resources
Latency metrics based on the percentiles of histogram quantile function Updated pom.xml Issue-ID: AAI-3529 Signed-off-by: leila <leila.nishimwe@bell.ca> Change-Id: Icf3fe2566d5b3068f4795a4ce7793c9812d7547b (cherry picked from commit f80844c59b994da133af38b66b3403d3231553e3)
-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