Package io.micrometer.tracing
Class SpanAndScope
java.lang.Object
io.micrometer.tracing.SpanAndScope
- All Implemented Interfaces:
Closeable,AutoCloseable
Container object for
Span and its corresponding Tracer.SpanInScope.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSpanAndScope(Span span, Tracer.SpanInScope scope) Creates a new span and scope -
Method Summary
-
Constructor Details
-
SpanAndScope
Creates a new span and scope- Parameters:
span- spanscope- scope
-
-
Method Details