UNPKG

@opentelemetry/sdk-metrics

Version:
17 lines 544 B
import type { Predicate } from './Predicate'; import type { 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