Properties

aggregationSelector?: metrics.AggregationSelector

Aggregation selector based on metric instrument types. If no views are configured for a metric instrument, a per-metric-reader aggregation is selected with this selector.

NOTE: the provided function MUST be pure

aggregationTemporalitySelector?: metrics.AggregationTemporalitySelector

Aggregation temporality selector based on metric instrument types. If not configured, cumulative is used for all instruments.

NOTE: the provided function MUST be pure

cardinalitySelector?: CardinalitySelector

Cardinality selector based on metric instrument types. If not configured, a default value is used.

NOTE: the provided function MUST be pure

metricProducers?: metrics.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.