Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
21 lines
849 B
Plaintext
21 lines
849 B
Plaintext
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 |