@ottrix/exporter-braintrust
v0.1.0
Published
Braintrust trace exporter for ottrix
Downloads
149
Readme
@ottrix/exporter-braintrust
Part of Ottrix — TypeScript framework for production LLM agents.
Core:ottrix· All packages: docs/README.md
Export ottrix traces to Braintrust project logs.
Install
npm install @ottrix/exporter-braintrust ottrixUsage
import { getTelemetry } from 'ottrix';
import { BraintrustExporter } from '@ottrix/exporter-braintrust';
getTelemetry().setExporter(
new BraintrustExporter({
apiKey: process.env.BRAINTRUST_API_KEY!,
projectName: 'my-agent',
}),
);Or via config (telemetry.exporter: 'braintrust') after wiring the exporter manually — see MIGRATION.md.
Related packages
| Package | Role |
|---------|------|
| ottrix | getTelemetry(), trace types |
| @ottrix/exporter-langfuse | Langfuse ingestion |
| @ottrix/exporter-otel | OTLP/HTTP export |
