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
902 B
Plaintext
21 lines
902 B
Plaintext
import { InstrumentationConfig, InstrumentationModuleDefinition } from '@opentelemetry/instrumentation';
|
|
import { InstrumentationBase } from '@opentelemetry/instrumentation';
|
|
import { GoogleGenAIOptions } from '@sentry/core';
|
|
type GoogleGenAIInstrumentationOptions = GoogleGenAIOptions & InstrumentationConfig;
|
|
/**
|
|
* Sentry Google GenAI instrumentation using OpenTelemetry.
|
|
*/
|
|
export declare class SentryGoogleGenAiInstrumentation extends InstrumentationBase<GoogleGenAIInstrumentationOptions> {
|
|
constructor(config?: GoogleGenAIInstrumentationOptions);
|
|
/**
|
|
* Initializes the instrumentation by defining the modules to be patched.
|
|
*/
|
|
init(): InstrumentationModuleDefinition;
|
|
/**
|
|
* Core patch logic applying instrumentation to the Google GenAI client constructor.
|
|
*/
|
|
private _patch;
|
|
}
|
|
export {};
|
|
//# sourceMappingURL=instrumentation.d.ts.map
|