UNPKG

@opentelemetry/sdk-metrics

Version:
14 lines 740 B
import { InstrumentType } from '../InstrumentDescriptor'; import { Aggregation } from '../view/Aggregation'; import { AggregationTemporality } from './AggregationTemporality'; /** * Aggregation selector based on metric instrument types. */ export declare type AggregationSelector = (instrumentType: InstrumentType) => Aggregation; /** * Aggregation temporality selector based on metric instrument types. */ export declare type AggregationTemporalitySelector = (instrumentType: InstrumentType) => AggregationTemporality; export declare const DEFAULT_AGGREGATION_SELECTOR: AggregationSelector; export declare const DEFAULT_AGGREGATION_TEMPORALITY_SELECTOR: AggregationTemporalitySelector; //# sourceMappingURL=AggregationSelector.d.ts.map