Interface FinishedSpanWriter<T>


public interface FinishedSpanWriter<T>
Writes finished spans in a provided format.
Since:
3.1.0
Author:
Marcin Grzejszczak
  • Method Summary

    Modifier and Type
    Method
    Description
    write(TextOutputFormat format, List<org.springframework.cloud.sleuth.exporter.FinishedSpan> spans)
    Writes the spans in a given format to String.
  • Method Details

    • write

      T write(TextOutputFormat format, List<org.springframework.cloud.sleuth.exporter.FinishedSpan> spans)
      Writes the spans in a given format to String.
      Parameters:
      format - format in which spans should be stored
      spans - spans to store
      Returns:
      string representation of spans or null if TextOutputFormat is not supported.