Package 

Interface DatadogSpanContext

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean setSamplingPriority(Integer samplingPriority) Sets the sampling priority for the span.
      abstract Unit setMetric(CharSequence key, Double value) Sets a numerical metric associated with the span.
      abstract DatadogTraceId getTraceId() Represents the unique identifier for a Datadog trace.
      abstract Long getSpanId() Represents the unique identifier for a Datadog span.
      abstract Integer getSamplingPriority() Represents the sampling priority value for a span.
      abstract Map<String, Object> getTags() Represents a collection of tags associated with the span.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setSamplingPriority

         abstract Boolean setSamplingPriority(Integer samplingPriority)

        Sets the sampling priority for the span.

        Parameters:
        samplingPriority - The sampling priority value to be set for the span.
      • setMetric

         abstract Unit setMetric(CharSequence key, Double value)

        Sets a numerical metric associated with the span.

        Parameters:
        key - The name of the metric to be set.
        value - The numerical value of the metric to be associated with the specified key.
      • getSpanId

         abstract Long getSpanId()

        Represents the unique identifier for a Datadog span.