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