mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-24 03:00:39 +08:00
17 lines
687 B
TypeScript
17 lines
687 B
TypeScript
import { Meter, MeterOptions } from './Meter';
|
|
/**
|
|
* A registry for creating named {@link Meter}s.
|
|
*/
|
|
export interface MeterProvider {
|
|
/**
|
|
* Returns a Meter, creating one if one with the given name, version, and
|
|
* schemaUrl pair is not already created.
|
|
*
|
|
* @param name The name of the meter or instrumentation library.
|
|
* @param version The version of the meter or instrumentation library.
|
|
* @param options The options of the meter or instrumentation library.
|
|
* @returns Meter A Meter with the given name and version
|
|
*/
|
|
getMeter(name: string, version?: string, options?: MeterOptions): Meter;
|
|
}
|
|
//# sourceMappingURL=MeterProvider.d.ts.map
|