Package 

Class AttributeModifyingSpanExporter

  • All Implemented Interfaces:
    io.opentelemetry.sdk.trace.export.SpanExporter , java.io.Closeable , java.lang.AutoCloseable

    
    public class AttributeModifyingSpanExporter
     implements SpanExporter
                        

    A SpanExporter that is configured to modify some of its attributes at export time.

    • Method Summary

      Modifier and Type Method Description
      CompletableResultCode export(Collection<SpanData> spans)
      CompletableResultCode flush()
      CompletableResultCode shutdown()
      • Methods inherited from class io.opentelemetry.sdk.trace.export.SpanExporter

        close, composite, export, flush, shutdown
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AttributeModifyingSpanExporter

        AttributeModifyingSpanExporter(SpanExporter delegate, Map<AttributeKey<out Object>, Function<out Object, out Object>> spanAttributeReplacements)