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 TypeMethodDescriptionwrite(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 storedspans- spans to store- Returns:
- string representation of spans or
nullifTextOutputFormatis not supported.
-