OpenTelemetry SDK
    Preparing search index...

    Interface ObservableResult<AttributesTypes>

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

    1.3.0

    interface ObservableResult<
        AttributesTypes extends
            @opentelemetry/api.MetricAttributes = @opentelemetry/api.MetricAttributes,
    > {
        observe(
            this: @opentelemetry/api.ObservableResult<AttributesTypes>,
            value: number,
            attributes?: AttributesTypes,
        ): void;
    }

    Type Parameters

    Index

    Methods

    Methods