@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
33 lines (32 loc) • 1.12 kB
TypeScript
/**
* Sentry Exporter
* Exports spans to Sentry error tracking and performance platform
*/
import type { ExporterHealthStatus, ExportResult, SentryExporterConfig, SpanData } from "../../types/index.js";
import { BaseExporter } from "./baseExporter.js";
/**
* Sentry exporter for error tracking and performance monitoring
* Captures AI errors as exceptions and traces as transactions
*/
export declare class SentryExporter extends BaseExporter {
private readonly dsn;
private readonly tracesSampleRate;
private readonly release?;
private sentryHub;
constructor(config: SentryExporterConfig);
initialize(): Promise<void>;
/**
* Load Sentry SDK dynamically as an optional dependency
* @returns Sentry module or null if not installed
*/
private loadSentry;
exportSpan(span: SpanData): Promise<ExportResult>;
exportBatch(spans: SpanData[]): Promise<ExportResult>;
flush(): Promise<void>;
shutdown(): Promise<void>;
healthCheck(): Promise<ExporterHealthStatus>;
/**
* Verify Sentry SDK is functional
*/
protected ping(): Promise<void>;
}