Version: 0.4.00.5.00.5.10.5.20.6.00.6.10.7.00.8.00.8.10.8.20.8.30.9.00.10.00.10.10.10.20.10.3-alpha.340.10.3-alpha.350.10.3-alpha.410.10.3-canary.00.11.00.11.1-alpha.150.11.1-alpha.350.11.1-alpha.360.11.1-alpha.440.11.1-alpha.480.11.1-alpha.530.12.00.12.1-alpha.70.12.1-alpha.540.13.00.14.00.15.00.16.00.16.1-alpha.110.16.1-alpha.140.16.1-alpha.150.16.1-alpha.200.17.00.17.1-alpha.210.18.00.18.10.19.00.20.00.21.01.0.0-rc.01.0.0-rc.11.0.0-rc.21.0.0-rc.31.0.01.0.11.0.21.0.31.0.41.1.01.2.01.3.01.4.01.4.11.5.01.6.01.7.01.8.01.9.0
import { Tracer } from './tracer';
import { TracerOptions } from './tracer_options';
/**
* A registry for creating named {@link Tracer}s.
*/
export interface TracerProvider {
* Returns a Tracer, creating one if one with the given name and version is
* not already created.
*
* This function may return different Tracer types (e.g.
* {@link NoopTracerProvider} vs. a functional tracer).
* @param name The name of the tracer or instrumentation library.
* @param version The version of the tracer or instrumentation library.
* @param options The options of the tracer or instrumentation library.
* @returns Tracer A Tracer with the given name and version
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
}
//# sourceMappingURL=tracer_provider.d.ts.map