Class AutoValue_ImmutableLongExemplarData

java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.ImmutableLongExemplarData
io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableLongExemplarData
All Implemented Interfaces:
ExemplarData, LongExemplarData

final class AutoValue_ImmutableLongExemplarData extends ImmutableLongExemplarData
  • Field Details

    • filteredAttributes

      private final Attributes filteredAttributes
    • epochNanos

      private final long epochNanos
    • spanContext

      private final SpanContext spanContext
    • value

      private final long value
  • Constructor Details

    • AutoValue_ImmutableLongExemplarData

      AutoValue_ImmutableLongExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value)
  • Method Details

    • getFilteredAttributes

      public Attributes getFilteredAttributes()
      Description copied from interface: ExemplarData
      Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.
    • getEpochNanos

      public long getEpochNanos()
      Description copied from interface: ExemplarData
      Returns the timestamp in nanos when measurement was collected.
    • getSpanContext

      public SpanContext getSpanContext()
      Description copied from interface: ExemplarData
      Returns the SpanContext associated with this exemplar. If the exemplar was not recorded inside a sampled trace, the SpanContext will be invalid.
    • getValue

      public long getValue()
      Description copied from interface: LongExemplarData
      Numerical value of the measurement that was recorded.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object