Class SamplingResult

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Boolean sample
      private final Attributes attributes
    • Constructor Summary

      Constructors 
      Constructor Description
      SamplingResult(Boolean sample, Attributes attributes)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getSample() Whether the span should be sampled.
      final Attributes getAttributes() The attributes to add to the span.
      • Methods inherited from class java.lang.Object

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

      • SamplingResult

        SamplingResult(Boolean sample, Attributes attributes)
    • Method Detail

      • getAttributes

         final Attributes getAttributes()

        The attributes to add to the span.