/opt/canhelp/node_modules/@opentelemetry/api/build/src/trace
Edit: /opt/canhelp/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.d.ts (780B)
import type { Context } from '../context/types';
import type { Span } from './span';
import type { SpanOptions } from './SpanOptions';
import type { Tracer } from './tracer';
/**
* No-op implementations of {@link Tracer}.
*/
export declare class NoopTracer implements Tracer {
startSpan(name: string, options?: SpanOptions, context?: Context): Span;
startActiveSpan
ReturnType>(name: string, fn: F): ReturnType;
startActiveSpan ReturnType>(name: string, opts: SpanOptions | undefined, fn: F): ReturnType;
startActiveSpan ReturnType>(name: string, opts: SpanOptions | undefined, ctx: Context | undefined, fn: F): ReturnType;
}
//# sourceMappingURL=NoopTracer.d.ts.map