Observability
Langfuse
Every LLM invocation is wrapped in a Langfuse trace with the prompt version, model, token usage, latency, and key source. Set:
LANGFUSE_PUBLIC_KEY=pk-…
LANGFUSE_SECRET_KEY=sk-…
LANGFUSE_HOST=https://cloud.langfuse.com # or your self-hosted instanceSentry
The shared withSentry() wrapper instruments every Edge Function. Set:
SENTRY_DSN=https://…@sentry.io/…
SENTRY_ENVIRONMENT=production
SENTRY_RELEASE=$GIT_SHAOpenTelemetry
The fix orchestrator emits OTel spans for every sandbox lifecycle event,
agent tool call, and PR creation. Point your collector at the standard
OTEL_EXPORTER_OTLP_ENDPOINT.
Last updated on