UNPKG

687 BTypeScriptView Raw
1import { Meter, MeterOptions } from './Meter';
2/**
3 * A registry for creating named {@link Meter}s.
4 */
5export interface MeterProvider {
6 /**
7 * Returns a Meter, creating one if one with the given name, version, and
8 * schemaUrl pair is not already created.
9 *
10 * @param name The name of the meter or instrumentation library.
11 * @param version The version of the meter or instrumentation library.
12 * @param options The options of the meter or instrumentation library.
13 * @returns Meter A Meter with the given name and version
14 */
15 getMeter(name: string, version?: string, options?: MeterOptions): Meter;
16}
17//# sourceMappingURL=MeterProvider.d.ts.map
\No newline at end of file