Interface ObservableLongMeasurement

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void observe​(long value)
      Records a measurement.
      void observe​(long value, io.opentelemetry.api.common.Attributes attributes)
      Records a measurement with a set of attributes.
    • Method Detail

      • observe

        void observe​(long value)
        Records a measurement.
        Parameters:
        value - The measurement amount. MUST be non-negative.
      • observe

        void observe​(long value,
                     io.opentelemetry.api.common.Attributes attributes)
        Records a measurement with a set of attributes.
        Parameters:
        value - The measurement amount. MUST be non-negative.
        attributes - A set of attributes to associate with the count.