Class OpenTracingUtil
java.lang.Object
io.vertx.tracing.opentracing.OpenTracingUtil
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenTracingUtil
public OpenTracingUtil()
-
-
Method Details
-
getSpan
public static io.opentracing.Span getSpan()Get the active span from the currentContext- Returns:
- a
Spanor null
-
setSpan
public static void setSpan(io.opentracing.Span span) Set the span as active on the context.- Parameters:
span- the span to associate with the context.
-
clearContext
public static void clearContext()Remove any active span on the context.
-