public class ZipkinTraceIdExtractor extends Object implements TraceIdExtractor
Modifier and Type | Field and Description |
---|---|
static String |
X_B3_TRACE_HEADER |
Constructor and Description |
---|
ZipkinTraceIdExtractor() |
Modifier and Type | Method and Description |
---|---|
String |
extractTraceIdFromRequest(HttpServletRequest req)
Extract trace ID from the HTTP request.
|
public static final String X_B3_TRACE_HEADER
public String extractTraceIdFromRequest(HttpServletRequest req)
TraceIdExtractor
extractTraceIdFromRequest
in interface TraceIdExtractor
req
- The HTTP servlet request.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.