From f734a409bfab49b88deb9979315b593d964ecfa2 Mon Sep 17 00:00:00 2001 From: lapentafd Date: Thu, 30 May 2024 15:47:34 +0100 Subject: A1-PMS http Telemetry Issue-ID: CCSDK-4010 Change-Id: Ib81f246f3e79f49c9361e802b2a73a99f7eb6db9 Signed-off-by: lapentafd --- a1-policy-management/config/application.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'a1-policy-management/config/application.yaml') 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} -- cgit 1.2.3-korg