summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai
diff options
context:
space:
mode:
authorFiachra Corcoran <fiachra.corcoran@est.tech>2022-09-26 08:18:07 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-26 08:18:07 +0000
commitbce018c44e7a78a587e6f24fe52fe22aa2a6af25 (patch)
tree6037454c0c3371242bdac36ada1cd92879dd25c5 /kubernetes/aai
parentf8161974aba4eb1c450106135a4b2312bc44cd76 (diff)
parent5a93da9aaa636ddc0a1ee72a00aa8037e2c54da5 (diff)
Merge "[AAI] Add latency metrics configurations for AAI-resources"
Diffstat (limited to 'kubernetes/aai')
-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