Interface DoubleGauge


@ThreadSafe public interface DoubleGauge
A gauge instrument that synchronously records double values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(double value)
    Set the gauge value.
    void
    set(double value, io.opentelemetry.api.common.Attributes attributes)
    Records a value with a set of attributes.
  • Method Details

    • set

      void set(double value)
      Set the gauge value.
      Parameters:
      value - The current gauge value.
    • set

      void set(double value, io.opentelemetry.api.common.Attributes attributes)
      Records a value with a set of attributes.
      Parameters:
      value - The current gauge value.
      attributes - A set of attributes to associate with the value.