Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ObservableResult<AttributesTypes>

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

since

1.3.0

Type Parameters

Hierarchy

  • ObservableResult

Index

Methods

Methods

  • observe(this: ObservableResult<AttributesTypes>, value: number, attributes?: AttributesTypes): void
  • 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.

    Returns void

Generated using TypeDoc