aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleila <leila.nishimwe@bell.ca>2022-09-23 12:53:00 -0400
committerLEILA NISHIMWE <leila.nishimwe@bell.ca>2022-09-23 17:54:54 +0000
commit5a93da9aaa636ddc0a1ee72a00aa8037e2c54da5 (patch)
treea47eb8884f0d1b50d72be0952f7028f8d8a187da
parent740cb1c679b52e3d4597c1211ff9b0a02bde84d4 (diff)
[AAI] Add latency metrics configurations for AAI-resources
Latency metrics based on the percentiles of histogram quantile function Issue-ID: AAI-3529 Signed-off-by: leila <leila.nishimwe@bell.ca> Change-Id: I1efca1383051168c6e17abe6bde78c93d7752b31
-rw-r--r--kubernetes/aai/components/aai-resources/resources/config/application.properties4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-resources/resources/config/application.properties b/kubernetes/aai/components/aai-resources/resources/config/application.properties
index 78a07f2a0f..7258b7bef8 100644
--- a/kubernetes/aai/components/aai-resources/resources/config/application.properties
+++ b/kubernetes/aai/components/aai-resources/resources/config/application.properties
@@ -104,3 +104,7 @@ schema.service.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Value
schema.service.ssl.key-store-password=${KEYSTORE_PASSWORD}
schema.service.ssl.trust-store-password=${TRUSTSTORE_PASSWORD}
{{ end }}
+
+#to expose the Prometheus scraping endpoint
+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 \ No newline at end of file