Doc update
[nonrtric/plt/a1policymanagementservice.git] / config / application.yaml
index 52b70d1..39b4486 100644 (file)
@@ -29,18 +29,7 @@ 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:
@@ -119,7 +108,19 @@ app:
     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_OTLP_TRACES_PROTOCOL:grpc}
+        protocol: ${ONAP_OTEL_EXPORTER_PROTOCOL:grpc}
+        endpoint: ${ONAP_OTEL_EXPORTER_ENDPOINT:http://jaeger:4317}
+  metrics:
+    exporter: none
+  logs:
+    exporter: none