PeriodicExportingMetricReaderOptions: {
    exporter: PushMetricExporter;
    exportIntervalMillis?: number;
    exportTimeoutMillis?: number;
    metricProducers?: MetricProducer[];
}

Type declaration

  • exporter: PushMetricExporter

    The backing exporter for the metric reader.

  • OptionalexportIntervalMillis?: number

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

  • OptionalexportTimeoutMillis?: number

    Milliseconds for the async observable callback to timeout.

  • Optional ExperimentalmetricProducers?: 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.