Architecture
OpenTelemetry Setup
Supported Platforms
- Arize - AI observability platform for monitoring and debugging ML models
- Langfuse - Open-source LLM engineering platform with tracing and analytics
- Any OTEL-compatible platform - Supports standard OTLP protocol
Configuration
Enable OpenTelemetry tracing via environment variables (see.env.example):
Platform-Specific Setup
Langfuse
- Create Account: Sign up at cloud.langfuse.com
-
Generate API Keys:
- Navigate to Settings → API Keys
- Create new key pair (public and secret)
-
Encode Credentials:
-
Configure Environment:
Arize
- Create Account: Sign up at arize.com
-
Get Credentials:
- Navigate to Settings → API Keys
- Copy Space ID and API Key
-
Configure Environment:
Sentry Error Tracking
Configuration
Enable Sentry via environment variables (see.env.example):
Setting Up Sentry
- Create Account: Sign up at sentry.io
-
Create Project:
- Select Python as platform
- Copy the DSN from project settings
-
Configure Environment:
- Restart Agent: Sentry initializes on startup