From: lapentafd Date: Wed, 15 Jan 2025 12:03:03 +0000 (+0000) Subject: Flag for NORTHBOUND tracing in a1pms X-Git-Tag: 2.1.0~25 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ed36ee090df371a1720d6973434013db2cb949b4;p=ccsdk%2Foran.git Flag for NORTHBOUND tracing in a1pms - Spring Web Flux tracing is done automatically by the library opentelemetry-spring-webflux-5.3 - Added a flag to disable tracing when this web client is used, that is when we route to northbound interface. Issue-ID: CCSDK-4010 Change-Id: Id7426ffd775df44c0e4a780e31cb912b45adc8c5 Signed-off-by: lapentafd --- diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml index e1f3b5c9..e3e95839 100644 --- a/a1-policy-management/config/application.yaml +++ b/a1-policy-management/config/application.yaml @@ -3,7 +3,7 @@ # ONAP : ccsdk oran # ================================================================================ # Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. -# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. +# Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -103,6 +103,9 @@ otel: sdk: disabled: ${ONAP_SDK_DISABLED:true} south: ${ONAP_TRACING_SOUTHBOUND:true} + instrumentation: + spring-webflux: + enabled: ${ONAP_TRACING_NORTHBOUND:true} tracing: sampler: jaeger_remote: