Class HttpPropagationUtil

java.lang.Object
io.opencensus.contrib.http.util.HttpPropagationUtil

public class HttpPropagationUtil extends Object
Utility class to get all supported TextFormat.
Since:
0.11.0
  • Constructor Details

    • HttpPropagationUtil

      private HttpPropagationUtil()
  • Method Details

    • 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