Constructor and Description |
---|
OpenTracingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
clearContext()
Remove any active span on the context.
|
static io.opentracing.Span |
getSpan()
Get the active span from the current
Context |
static void |
setSpan(io.opentracing.Span span)
Set the span as active on the context.
|
public static io.opentracing.Span getSpan()
Context
Span
or nullpublic static void setSpan(io.opentracing.Span span)
span
- the span to associate with the context.public static void clearContext()
Copyright © 2022 Eclipse. All rights reserved.