fabric-smart-client icon indicating copy to clipboard operation
fabric-smart-client copied to clipboard

Allow existing trace provider in OpenTelemetry integration

Open PERSEJOZA opened this issue 8 months ago • 0 comments

The library has a support for OpenTelemetry by providing some configuration parameters. However, we noticed that the trace provider defined in the library overwrites the trace provider defined in the microservice, resulting in inconsistent spans with different microservice names. Moreover, if there are multiple exporters defined, span information is shared via several channels, which is inefficient and eliminates the benefits of a configurable exporter.

It would be nice if the library could provide a way to keep an existing trace provider if it is already defined or just let the microservice that uses it to configure tracing. This would allow for more flexibility and better integration with other tracing solutions.

PERSEJOZA avatar Jun 18 '24 08:06 PERSEJOZA