reta commented on code in PR #1340:
URL: https://github.com/apache/cxf/pull/1340#discussion_r1271549869


##########
distribution/src/main/release/samples/jax_rs/tracing_opentelemetry/src/main/java/demo/jaxrs/tracing/ConsoleSpanExporter.java:
##########
@@ -0,0 +1,42 @@
+package demo.jaxrs.tracing;
+
+import java.util.Collection;
+
+import io.opentelemetry.sdk.common.CompletableResultCode;
+import io.opentelemetry.sdk.trace.data.SpanData;
+import io.opentelemetry.sdk.trace.export.SpanExporter;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class ConsoleSpanExporter implements SpanExporter {

Review Comment:
   May be we could use `LoggingSpanExporter` here 
(https://javadoc.io/doc/io.opentelemetry/opentelemetry-exporters-logging/latest/io/opentelemetry/exporters/logging/LoggingSpanExporter.html)?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to