summaryrefslogtreecommitdiffstats
path: root/a1-policy-management/config/application.yaml
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2024-05-30 15:47:34 +0100
committerFrancesco Davide Lapenta <francesco.lapenta@est.tech>2024-06-20 10:46:59 +0000
commitf734a409bfab49b88deb9979315b593d964ecfa2 (patch)
tree312b0ff5f09eb38e04bbb7d9cc69f014b462d8ac /a1-policy-management/config/application.yaml
parent10948b6d86645c7e30d86f787fcf17a0eefd22be (diff)
A1-PMS http Telemetry
Issue-ID: CCSDK-4010 Change-Id: Ib81f246f3e79f49c9361e802b2a73a99f7eb6db9 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'a1-policy-management/config/application.yaml')
-rw-r--r--a1-policy-management/config/application.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml
index 4f80d2e3..52b70d10 100644
--- a/a1-policy-management/config/application.yaml
+++ b/a1-policy-management/config/application.yaml
@@ -20,6 +20,8 @@
# ============LICENSE_END=========================================================
#
spring:
+ application:
+ name: a1-pms
profiles:
active: prod
main:
@@ -27,6 +29,22 @@ spring:
aop:
auto: false
management:
+ otlp:
+ metrics:
+ export:
+ enabled: false
+ tracing:
+ sampler:
+ jaeger_remote:
+ endpoint: ${ONAP_OTEL_SAMPLER_JAEGER_REMOTE_ENDPOINT:http://jaeger:14250}
+ exporter:
+ endpoint: ${ONAP_OTEL_EXPORTER_ENDPOINT:http://jaeger:4317}
+ protocol: ${ONAP_OTEL_EXPORTER_PROTOCOL:grpc}
+ enabled: ${ONAP_TRACING_ENABLED:false}
+ propagation:
+ produce: ${ONAP_PROPAGATOR_PRODUCE:[W3C]}
+ sampling:
+ probability: 1.0
endpoints:
web:
exposure:
@@ -100,3 +118,8 @@ app:
accessKeyId: minio
secretAccessKey: miniostorage
bucket:
+otel:
+ exporter:
+ otlp:
+ traces:
+ protocol: ${ONAP_OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:grpc}