Deprecated
scheduled for removal in 1.4.0
This standardizes a way to instrument http clients, particularly in a way that
encourages use of portable customizations via HttpRequestParser and
HttpResponseParser.
| Modifier and Type | Method and Description |
|---|---|
| public void | handleReceive(HttpClientResponse
the HTTP response response, Span span to be ended span)
Deprecated
as a consequence of
Finishes the client span after assigning it tags according to the response or
error.
HttpClientResponse being deprecated.
|
| public Span | Returns: client side spanto inject the tracing context with request)
Deprecated
as a consequence of
Starts the client span after assigning it a name and tags.
HttpClientRequest being deprecated.
|
| public Span | Returns: client side spanto inject the tracing context with request, TraceContext TraceContext that is to be the client side span's parent
Deprecated
as a consequence of
Same as HttpClientRequest being deprecated.
handleSend(HttpClientRequest) but with an explicit parent
TraceContext.
|
| handleReceive | back to summary |
|---|---|
| public void handleReceive(HttpClientResponse response, Span span)
Deprecated as a consequence of Finishes the client span after assigning it tags according to the response or error.
| |
| handleSend | back to summary |
|---|---|
| public Span handleSend(HttpClientRequest request)
Deprecated as a consequence of Starts the client span after assigning it a name and tags. This injects the trace context onto the request before returning. Call this before sending the request on the wire.
| |
| handleSend | back to summary |
|---|---|
| public Span handleSend(HttpClientRequest request, TraceContext parent)
Deprecated as a consequence of Same as
| |