Top Description Methods
io.micrometer.tracing.exporter

public Interface SpanReporter

extends AutoCloseable

An interface that allows to process spans after they got finished.
Author
Marcin Grzejszczak
Since
1.0.0

Method Summary

Modifier and TypeMethod and Description
public default void
close()

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.
public void
report(FinishedSpan
a span that was ended and is ready to be reported.
span
)

Reports the finished span.

Method Detail

closeback to summary
public default void close() throws Exception

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
Exceptions
Exception:
if this resource cannot be closed
reportback to summary
public void report(FinishedSpan span)

Reports the finished span.

Parameters
span:FinishedSpan

a span that was ended and is ready to be reported.