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
17 lines
669 B
Plaintext
17 lines
669 B
Plaintext
import { TracerProvider } from '@opentelemetry/api';
|
|
import { InstrumentationBase, InstrumentationConfig, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
|
|
export interface PrismaInstrumentationConfig {
|
|
ignoreSpanTypes?: (string | RegExp)[];
|
|
}
|
|
type Config = PrismaInstrumentationConfig & InstrumentationConfig;
|
|
export declare class PrismaInstrumentation extends InstrumentationBase {
|
|
private tracerProvider;
|
|
constructor(config?: Config);
|
|
setTracerProvider(tracerProvider: TracerProvider): void;
|
|
init(): InstrumentationNodeModuleDefinition[];
|
|
enable(): void;
|
|
disable(): void;
|
|
isEnabled(): boolean;
|
|
}
|
|
export {};
|