Interface ObservableDoubleMeasurement

    • Method Summary

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

      • observe

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

        void observe​(double 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.