diff options
author | leila <leila.nishimwe@bell.ca> | 2022-11-15 11:33:21 -0500 |
---|---|---|
committer | leila <leila.nishimwe@bell.ca> | 2022-11-23 17:27:38 -0500 |
commit | 98e7aeaef8798a9956ca8222971d3a77c53643b1 (patch) | |
tree | 2849741d255c2b5588ccc1e68a9251d13711a3cb /kubernetes/aai/components/aai-traversal/resources | |
parent | 5c963c5463e01bfd611ae98232a48f8c8c9fda5a (diff) |
[AAI] Service monitor for scraping prometheus metrics
Changes are done for aai resources graphadmin and traversal
Session affinity for aai resources traversal and aai haproxy
Issue-ID: AAI-3599
Signed-off-by: leila <leila.nishimwe@bell.ca>
Change-Id: Ib3853c45051ca8e9c025bd0d6e700a08a54cb1a9
Diffstat (limited to 'kubernetes/aai/components/aai-traversal/resources')
-rw-r--r-- | kubernetes/aai/components/aai-traversal/resources/config/application.properties | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-traversal/resources/config/application.properties b/kubernetes/aai/components/aai-traversal/resources/config/application.properties index 24a5241fe2..3022b17f97 100644 --- a/kubernetes/aai/components/aai-traversal/resources/config/application.properties +++ b/kubernetes/aai/components/aai-traversal/resources/config/application.properties @@ -106,3 +106,19 @@ 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.port=8448 +management.endpoints.enabled-by-default=false +management.security.enabled=false +endpoints.enabled=false +endpoints.info.enabled=false +endpoints.prometheus.enabled=false +endpoints.health.enabled=false +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 +#Add common tag for grouping all aai related metrics +management.metrics.tags.group_id=aai +#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
\ No newline at end of file |