Interface that is being used in batch observable callback function.

interface BatchObservableResult<
    AttributesTypes extends MetricAttributes = MetricAttributes,
> {
    observe(
        this: BatchObservableResult<AttributesTypes>,
        metric: Observable<AttributesTypes>,
        value: number,
        attributes?: AttributesTypes,
    ): void;
}

Type Parameters

Methods

Methods