UNPKG

@opentelemetry/sdk-metrics

Version:
17 lines 534 B
import { Predicate } from './Predicate'; import { InstrumentType } from '../export/MetricData'; export interface InstrumentSelectorCriteria { name?: string; type?: InstrumentType; unit?: string; } export declare class InstrumentSelector { private _nameFilter; private _type?; private _unitFilter; constructor(criteria?: InstrumentSelectorCriteria); getType(): InstrumentType | undefined; getNameFilter(): Predicate; getUnitFilter(): Predicate; } //# sourceMappingURL=InstrumentSelector.d.ts.map