Package 

Class Attribute


  • @JsonClass(generateAdapter = true) 
    public final class Attribute
    
                        

    A key-value pair that provides additional context to the span

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String key
      private final String data
    • Method Summary

      Modifier and Type Method Description
      final String getKey()
      final String getData()
      • Methods inherited from class java.lang.Object

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

      • Attribute

        Attribute(String key, String data)
        Parameters:
        key - The name of the attribute
        data - The value of the attribute