diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2022-11-23 20:41:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-11-23 20:41:55 +0000 |
commit | 01a8358512c24c462806369cf31f42e95c2584ee (patch) | |
tree | ccc82692cc39f54981b692da7b47ab38031a1027 /kubernetes/aai/components/aai-resources/resources/config/application.properties | |
parent | 549350c8cdefc7c687aa4812f1c1e7d2883aa886 (diff) | |
parent | 46fb5809d4aa57c10c57ee6b828b72b9a80ccd9b (diff) |
Merge "[AAI] Service monitor for scraping prometheus metrics"
Diffstat (limited to 'kubernetes/aai/components/aai-resources/resources/config/application.properties')
-rw-r--r-- | kubernetes/aai/components/aai-resources/resources/config/application.properties | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/kubernetes/aai/components/aai-resources/resources/config/application.properties b/kubernetes/aai/components/aai-resources/resources/config/application.properties index 7258b7bef8..b5b64bec4b 100644 --- a/kubernetes/aai/components/aai-resources/resources/config/application.properties +++ b/kubernetes/aai/components/aai-resources/resources/config/application.properties @@ -106,5 +106,17 @@ 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
\ No newline at end of file +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 |