Class DatadogIdProvider

java.lang.Object
com.helixframework.resttemplate.tracing.datadog.DatadogIdProvider
All Implemented Interfaces:
IdProvider

public class DatadogIdProvider extends Object implements IdProvider
Generates trace and span identifiers that are Datadog compliant.
  • Constructor Details

    • DatadogIdProvider

      public DatadogIdProvider()
  • Method Details

    • traceId

      public String traceId()
      Description copied from interface: IdProvider
      Creates a trace id.
      Specified by:
      traceId in interface IdProvider
      Returns:
      trace id
    • spanId

      public String spanId()
      Description copied from interface: IdProvider
      Creates a span id.
      Specified by:
      spanId in interface IdProvider
      Returns:
      span id