OpenTelemetry SDK
    Preparing search index...

    Type Alias PeriodicExportingMetricReaderOptions

    type PeriodicExportingMetricReaderOptions = {
        cardinalityLimits?: {
            counter?: number;
            default?: number;
            gauge?: number;
            histogram?: number;
            observableCounter?: number;
            observableGauge?: number;
            observableUpDownCounter?: number;
            upDownCounter?: number;
        };
        exporter: PushMetricExporter;
        exportIntervalMillis?: number;
        exportTimeoutMillis?: number;
        maxExportBatchSize?: number;
        metricProducers?: MetricProducer[];
    }
    Index
    cardinalityLimits?: {
        counter?: number;
        default?: number;
        gauge?: number;
        histogram?: number;
        observableCounter?: number;
        observableGauge?: number;
        observableUpDownCounter?: number;
        upDownCounter?: number;
    }

    Cardinality limits for the metric reader, applied per instrument. If not configured, defaults to 2000 time series per instrument. These are wrapped in a cardinalitySelector function that returns limits based on the instrument type, so they can be configured differently per type if desired.

    The backing exporter for the metric reader.

    exportIntervalMillis?: number

    An internal milliseconds for the metric reader to initiate metric collection.

    exportTimeoutMillis?: number

    Milliseconds for the async observable callback to timeout.

    maxExportBatchSize?: number

    The maximum batch size for exports. If configured, the reader will split batches larger than this size into smaller batches.

    metricProducers?: MetricProducer[]

    Note, this option is experimental. Additional MetricProducers to use as a source of aggregated metric data in addition to the SDK's metric data. The resource returned by these MetricProducers is ignored; the SDK's resource will be used instead.