Package brave.http
-
Interface Summary Interface Description HttpRequestParser Use this to control the request data recorded for ansampled HTTP client or server span
.HttpResponseParser Use this to control the response data recorded for ansampled HTTP client or server span
.HttpTracingCustomizer This allows configuration plugins to collaborate on building an instance ofHttpTracing
. -
Class Summary Class Description HttpClientHandler<Req,Resp> This standardizes a way to instrument http clients, particularly in a way that encourages use of portable customizations viaHttpRequestParser
andHttpResponseParser
.HttpClientRequest Marks an interface for use inHttpClientHandler.handleSend(HttpClientRequest)
.HttpClientResponse Marks an interface for use inHttpClientHandler.handleReceive(HttpClientResponse, Span)
.HttpRequest Abstract request type used for parsing and sampling of http clients and servers.HttpRequestMatchers Null safe matchers for use inHttpRuleSampler
.HttpRequestParser.Default The default data policy sets the span name to the HTTP method and adds the "http.method" and "http.path" tags.HttpResponse Abstract response type used for parsing and sampling of http clients and servers.HttpResponseParser.Default The default data policy sets the span name to the HTTP route when available, along with the "http.status_code" and "error" tags.HttpRuleSampler Assigns sample rates to http routes.HttpRuleSampler.Builder HttpServerHandler<Req,Resp> This standardizes a way to instrument http servers, particularly in a way that encourages use of portable customizations viaHttpRequestParser
andHttpResponseParser
.HttpServerRequest Marks an interface for use inHttpServerHandler.handleReceive(HttpServerRequest)
.HttpServerResponse Marks an interface for use inHttpServerHandler#handleSend(Object, Throwable, Span)
.HttpTags Standard tags used in request and response parsers.HttpTracing Instances built viaHttpTracing.create(Tracing)
orHttpTracing.newBuilder(Tracing)
are registered automatically such that statically configured instrumentation like HTTP clients can useHttpTracing.current()
.HttpTracing.Builder