Package io.opencensus.contrib.http.util
Class HttpPropagationUtil
- java.lang.Object
-
- io.opencensus.contrib.http.util.HttpPropagationUtil
-
public class HttpPropagationUtil extends java.lang.Object
Utility class to get all supportedTextFormat
.- Since:
- 0.11.0
-
-
Constructor Summary
Constructors Modifier Constructor Description private
HttpPropagationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextFormat
getCloudTraceFormat()
Returns the Stack Driver format implementation.
-
-
-
Method Detail
-
getCloudTraceFormat
public static TextFormat getCloudTraceFormat()
Returns the Stack Driver format implementation. The header specification for this format is "X-Cloud-Trace-Context: <TRACE_ID>/<SPAN_ID>[;o=<TRACE_TRUE>]". See this page for more information.- Returns:
- the Stack Driver format.
- Since:
- 0.11.0
-
-