import type { Span, Tracer } from '@opentelemetry/api'; import type { TelemetryExporter, TelemetrySpan } from './telemetry.js'; export interface OpenTelemetryExporterOptions { tracer: Tracer; /** Add attributes to every emitted span. */ attributes?: Record; /** * Naming/attribute convention. Defaults to `'fabric'` (Fabric-native span * names like `fabric.tool_end`). Set to `'foundry'` to emit `gen_ai.*` * span names and attributes that match Azure AI Foundry / OpenTelemetry * Generative AI semantic conventions for end-to-end correlation. */ conventions?: 'fabric' | 'foundry'; } /** * Bridge Fabric's SDK-neutral TelemetrySpan into a real @opentelemetry/api Tracer. * * The SDK keeps @opentelemetry/api as an optional peer dependency. Applications that * want OTLP/Jaeger/Zipkin/etc. should configure their OpenTelemetry SDK/exporter and * pass the tracer here. */ export declare function openTelemetryExporter(options: OpenTelemetryExporterOptions): TelemetryExporter; export declare function emitOpenTelemetrySpan(tracer: Tracer, span: TelemetrySpan, attributes?: Record, conventions?: 'fabric' | 'foundry'): Span; //# sourceMappingURL=otel.d.ts.map