A gauge instrument that tracks current values.

Constructors

Methods

Constructors

Methods

  • Add to the current gauge value.

    Parameters

    • value: number
    • attributes: Record<string, unknown> = {}

    Returns void

  • Get the current value.

    Returns number

  • Set the gauge to a specific value.

    Parameters

    • value: number
    • attributes: Record<string, unknown> = {}

    Returns void

  • Subtract from the current gauge value.

    Parameters

    • value: number
    • attributes: Record<string, unknown> = {}

    Returns void