public interface Tracer
TracingSpan
spans used by the vapi
stackModifier and Type | Method and Description |
---|---|
com.vmware.vapi.internal.tracing.TracingSpan |
attachServerSpan(javax.servlet.http.HttpServletRequest request)
Creates a new server span and attaches it to the tracer propagated with
the http request.
|
com.vmware.vapi.internal.tracing.TracingSpan |
createClientSpan(java.lang.String name)
Creates a new client span and associates it with the current tracing
context.
|
static final Tracer NO_OP
com.vmware.vapi.internal.tracing.TracingSpan createClientSpan(java.lang.String name)
TracingSpan.makeCurrent()
must be called to activate the span.
TracingSpan
com.vmware.vapi.internal.tracing.TracingSpan attachServerSpan(javax.servlet.http.HttpServletRequest request)
TracingSpan.makeCurrent()
must be called to activate the span.
request
- the request to extract the tracer ID fromTracingSpan