summaryrefslogtreecommitdiffstats
path: root/aai-resources
diff options
context:
space:
mode:
authorleila <leila.nishimwe@bell.ca>2022-09-23 12:31:06 -0400
committerleila <leila.nishimwe@bell.ca>2022-09-23 15:11:23 -0400
commitf80844c59b994da133af38b66b3403d3231553e3 (patch)
treecff6e67029c3ce855519c39c18c83a475049a105 /aai-resources
parent6a84041444bf3b05195d537854c098c645142a93 (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
Diffstat (limited to 'aai-resources')
-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 298a5da..f8e60c4 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