Interface ObservableResult<AttributesTypes>

Interface that is being used in callback function for Observable Metric.

Type Parameters

Hierarchy

  • ObservableResult

Methods

Methods

  • Observe a measurement of the value associated with the given attributes.

    Parameters

    • this: ObservableResult<AttributesTypes>
    • value: number

      The value to be observed.

    • Optional attributes: AttributesTypes

      The attributes associated with the value. If more than one values associated with the same attributes values, SDK may pick the last one or simply drop the entire observable result.

      Optional

    Returns void

Generated using TypeDoc