Deprecated
scheduled for removal in 1.4.0
This standardizes a way to instrument http servers, particularly in a way that
encourages use of portable customizations via HttpRequestParser and
HttpResponseParser.
| Modifier and Type | Method and Description |
|---|---|
| public Span | Returns: server side span (either joined or a new trace)HTTP request request)
Deprecated
as a consequence of
Conditionally joins a span, or starts a new trace, depending on if a trace context
was extracted from the request.
HttpServerRequest being deprecated.
|
| public void | handleSend(HttpServerResponse
HTTP response response, Span server side span to end span)
Deprecated
as a consequence of
Finishes the server span after assigning it tags according to the response or
error.
HttpServerResponse being deprecated.
|
| handleReceive | back to summary |
|---|---|
| public Span handleReceive(HttpServerRequest request)
Deprecated as a consequence of Conditionally joins a span, or starts a new trace, depending on if a trace context was extracted from the request. Tags are added before the span is started.
| |
| handleSend | back to summary |
|---|---|
| public void handleSend(HttpServerResponse response, Span span)
Deprecated as a consequence of Finishes the server span after assigning it tags according to the response or error.
| |