eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
28 lines (27 loc) • 1.65 kB
TypeScript
/**
* The OpenTelemetry authoring surface for `agent/instrumentation/`.
*
* Two halves, because OpenTelemetry has two: `otel()` is the settings a process
* can only hold one of, and an integration is a destination, of which there may
* be as many as there are files.
*
* Each destination is declared in its own path-named provider file.
*/
import { type ManagedTraceOptions, type OtelIntegration } from "#tracing/otel-declaration.js";
export { isOtelDeclaration, isOtelIntegration, otel, otelIntegration, type OtelDeclaration, type OtelIntegration, type OtelIntegrationOptions, type OtelOptions, type ManagedTraceOptions, type SpanAttributeDecision, type SpanExportAttributeValue, type SpanExportContext, type SpanExportDecision, type SpanExportPolicy, type TraceCaptureContext, type TraceCapturePolicy, type TracePolicyDecision, } from "#tracing/otel-declaration.js";
export type { SpanExporter, SpanProcessor } from "#compiled/@vercel/otel/index.js";
/**
* Vercel Agent Runs, enabled by default in preview and production deployments.
*
* Export it from `agent/instrumentation/agent-runs.ts` to configure export, or
* export `disableInstrumentation()` from that file to turn it off.
*/
export declare function agentRuns(options?: ManagedTraceOptions): OtelIntegration;
/**
* The local trace spool `eve dev` reads, as a destination.
*
* Export it from `agent/instrumentation/local.ts` to keep it alongside a hosted
* backend, or export `disableInstrumentation()` from that file to turn it off.
* Omitting the file leaves eve's default in place.
*/
export declare function localTraces(options?: ManagedTraceOptions): OtelIntegration;