aboutsummaryrefslogtreecommitdiffstats
path: root/a1-policy-management/config/application.yaml
diff options
context:
space:
mode:
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}