public final class HttpServerRequestSpanCustomizer extends Object
This class is created for reuse so as not to violate DRY: it can be used in HttpServerPropagator
and
in the Servlet Instrumentation in the Spring Beeline.However, it is not open for extension as the fields that the
instrumentation adds in this case are standardized.
Constructor | Description |
---|---|
HttpServerRequestSpanCustomizer() |
Modifier and Type | Method | Description |
---|---|---|
void |
customize(Span span,
HttpServerRequestAdapter httpServerRequestAdapter) |
Customize a span by adding information from a HTTP request received by a server.
|
public void customize(Span span, HttpServerRequestAdapter httpServerRequestAdapter)
span
- the spanhttpServerRequestAdapter
- the http server requestCopyright © 2019–2020 Honeycomb. All rights reserved.