Package io.micrometer.tracing.http
Interface HttpRequestParser
public interface HttpRequestParser
This API is taken from OpenZipkin Brave.
Use this to control the request data recorded.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidparse(HttpRequest request, TraceContext context, SpanCustomizer span) Implement to choose what data from the http request are parsed into the span representing it.
-
Method Details
-
parse
Implement to choose what data from the http request are parsed into the span representing it.- Parameters:
request- current requestcontext- corresponding trace contextspan- customizer for the current span
-