X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=config%2Fapplication.yaml;h=39b44863bda157f0baa115565738b6ca8f293eaa;hb=HEAD;hp=4f80d2e39fb1125bafa01de37177d2db3f39da1e;hpb=3b14472b56f33cdc5025a7a8a787c18731659573;p=nonrtric%2Fplt%2Fa1policymanagementservice.git diff --git a/config/application.yaml b/config/application.yaml index 4f80d2e..39b4486 100644 --- a/config/application.yaml +++ b/config/application.yaml @@ -20,6 +20,8 @@ # ============LICENSE_END========================================================= # spring: + application: + name: a1-pms profiles: active: prod main: @@ -27,6 +29,11 @@ spring: aop: auto: false management: + tracing: + propagation: + produce: ${ONAP_PROPAGATOR_PRODUCE:[W3C]} + sampling: + probability: 1.0 endpoints: web: exposure: @@ -100,3 +107,20 @@ app: accessKeyId: minio secretAccessKey: miniostorage bucket: +otel: + sdk: + disabled: ${ONAP_SDK_DISABLED:true} + south: ${ONAP_TRACING_SOUTHBOUND:true} + tracing: + sampler: + jaeger_remote: + endpoint: ${ONAP_OTEL_SAMPLER_JAEGER_REMOTE_ENDPOINT:http://jaeger:14250} + exporter: + otlp: + traces: + protocol: ${ONAP_OTEL_EXPORTER_PROTOCOL:grpc} + endpoint: ${ONAP_OTEL_EXPORTER_ENDPOINT:http://jaeger:4317} + metrics: + exporter: none + logs: + exporter: none