diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2024-06-05 07:11:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-06-05 07:11:05 +0000 |
commit | 026e4d2cfc38468a75c035c832b8fd04d66ce4d8 (patch) | |
tree | 19a8d90ca7cc06f5209ec0945121dc7d1730e0a5 /cps-application/src/main/resources/application.yml | |
parent | c056bee2fc0f52055464839248abfa4d16c8f89c (diff) | |
parent | 2293486de5c408c2c9c27205f1167747df6e1d42 (diff) |
Merge "Added OpenTelemetry to CPS"
Diffstat (limited to 'cps-application/src/main/resources/application.yml')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index e724ef4443..9c8c1ecd5f 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -151,8 +151,23 @@ security: username: ${CPS_USERNAME:cpsuser} password: ${CPS_PASSWORD:cpsr0cks!} +cps: + tracing: + sampler: + jaeger_remote: + endpoint: ${ONAP_OTEL_SAMPLER_JAEGER_REMOTE_ENDPOINT:http://onap-otel-collector:14250} + exporter: + endpoint: ${ONAP_OTEL_EXPORTER_ENDPOINT:http://onap-otel-collector:4317} + protocol: ${ONAP_OTEL_EXPORTER_PROTOCOL:grpc} + enabled: ${ONAP_TRACING_ENABLED:false} + # Actuator management: + tracing: + propagation: + produce: ${ONAP_PROPAGATOR_PRODUCE:[W3C]} + sampling: + probability: 1.0 endpoints: web: exposure: @@ -214,3 +229,9 @@ hazelcast: kubernetes: enabled: ${HAZELCAST_MODE_KUBERNETES_ENABLED:false} service-name: ${CPS_NCMP_SERVICE_NAME:"cps-and-ncmp-service"} + +otel: + exporter: + otlp: + traces: + protocol: ${ONAP_OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:grpc}
\ No newline at end of file |