Doc update
[nonrtric/plt/a1policymanagementservice.git] / config / application.yaml
index 4f80d2e..39b4486 100644 (file)
@@ -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