tasq/node_modules/@opentelemetry/sdk-metrics/build/esnext/view/InstrumentSelector.d.ts

17 lines
537 B
TypeScript

import { InstrumentType } from '../InstrumentDescriptor';
import { Predicate } from './Predicate';
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