distributed trace capture and reconstruction with multi-sdk integration
Captures LLM interaction traces across heterogeneous SDKs (Langchain, LiteLLM, OpenAI SDK, LlamaIndex) via unified ingestion API endpoints that normalize events into a PostgreSQL-backed trace graph. Uses event enrichment and masking pipelines to standardize observations (LLM calls, retrievals, tool executions) into parent-child relationships, enabling full execution path reconstruction without modifying user application code.
Unique: Unified ingestion API with automatic event enrichment and masking pipelines that normalize traces from 5+ SDK types into a single PostgreSQL schema, avoiding vendor lock-in and supporting self-hosted deployments with full data control
vs alternatives: Supports more SDK integrations (Langchain, LiteLLM, OpenAI, LlamaIndex, Anthropic) than Datadog APM or New Relic, with open-source self-hosting vs cloud-only competitors
opentelemetry-native trace ingestion with semantic convention mapping
Accepts OpenTelemetry Protocol (OTLP) traces via gRPC/HTTP endpoints and maps OTel semantic conventions (span attributes, events, status codes) to Langfuse trace domain model (observations, scores, metadata). Implements dual-write architecture to PostgreSQL and ClickHouse for real-time querying and historical analytics, with automatic schema validation and attribute masking for PII.
Unique: Native OTLP ingestion with automatic semantic convention mapping and dual-write to PostgreSQL + ClickHouse, enabling both transactional trace queries and analytical aggregations without ETL overhead
vs alternatives: Supports OpenTelemetry natively (vs Datadog requiring custom exporters), with self-hosted ClickHouse for cost-effective analytics vs cloud-only competitors charging per-span ingestion
batch trace operations with async processing and error recovery
Supports batch operations on multiple traces (export, delete, tag, score, assign to dataset) via async job queue with progress tracking and error recovery. Uses Redis-backed job queue for reliable processing with automatic retry logic and dead-letter queue for failed jobs. Implements batch selection UI with checkbox filtering and action confirmation, supporting 1k+ trace selections without UI blocking.
Unique: Redis-backed async batch processing with automatic retry logic and dead-letter queue, enabling 1k+ trace operations without UI blocking or manual job management
vs alternatives: Supports async batch operations (vs synchronous operations in competitors), with automatic retry and error recovery avoiding manual job resubmission
automated data retention and archival with configurable policies
Implements configurable data retention policies at project level, automatically archiving or deleting traces based on age, cost, or custom criteria. Uses background scheduled jobs to enforce retention policies without manual intervention. Supports tiered storage (hot PostgreSQL, cold ClickHouse, archive S3) with automatic data migration based on retention tier. Provides audit trail of deleted traces for compliance.
Unique: Configurable retention policies with tiered storage and automatic archival, enabling cost-effective trace management without manual intervention or external archival tools
vs alternatives: Supports tiered storage with automatic migration (vs single-tier storage in competitors), with compliance audit trail for deleted data vs competitors lacking deletion audit
real-time trace streaming and live dashboard updates
Streams new traces to connected clients via WebSocket or Server-Sent Events (SSE), enabling live dashboard updates without polling. Implements efficient delta updates (only changed fields) to minimize bandwidth. Uses tRPC subscriptions for real-time updates with automatic reconnection and backpressure handling. Supports filtering live streams by project, trace status, or custom criteria.
Unique: WebSocket-based real-time trace streaming with delta updates and automatic reconnection, enabling live dashboard updates without polling or external streaming infrastructure
vs alternatives: Supports real-time streaming (vs polling-based competitors), with delta updates reducing bandwidth vs full object updates
real-time llm-as-judge evaluation with configurable scoring rubrics
Executes automated evaluations on captured traces using LLM-as-Judge pattern via Redis-backed job queue (evalExecutionQueue, llmAsJudgeExecutionQueue). Supports configurable scoring rubrics with multi-step evaluation logic, integrates with OpenAI/Anthropic/custom LLM providers for judgment, and stores scores as observations linked to traces. Uses background worker processes to parallelize evaluation across multiple traces with configurable retry logic and error handling.
Unique: Redis-backed distributed evaluation queue with configurable LLM-as-Judge rubrics, parallel execution across worker processes, and automatic score linking to trace observations without requiring manual annotation
vs alternatives: Supports custom rubrics and multi-step evaluation logic (vs fixed evaluation templates in competitors), with self-hosted worker execution avoiding vendor lock-in and enabling cost control via local LLM providers
multi-tenant rbac with api key and sso authentication
Implements multi-tenant isolation via project-scoped API keys and role-based access control (RBAC) with configurable permissions per user role. Supports SSO integration (OIDC, SAML) for enterprise deployments and API key management with automatic rotation and scoping. Uses tRPC internal API with authentication middleware and PostgreSQL-backed permission checks to enforce access control across all endpoints.
Unique: Project-scoped RBAC with SSO support and automatic API key management, using tRPC middleware for permission enforcement across all endpoints without requiring custom authorization code per route
vs alternatives: Supports both API key and SSO authentication (vs single-method competitors), with self-hosted RBAC avoiding third-party identity provider dependency and enabling offline operation
prompt versioning and a/b testing with experiment tracking
Stores prompt templates with version control, enabling side-by-side comparison of prompt variants via experiment framework. Integrates with trace capture to automatically tag observations with prompt version and experiment ID, enabling statistical analysis of prompt performance. Uses PostgreSQL for prompt storage and ClickHouse for aggregated experiment metrics (success rate, latency, cost per variant).
Unique: Integrated prompt versioning with automatic experiment tagging via trace observations, enabling statistical analysis of prompt performance without manual data correlation or external experiment tracking tools
vs alternatives: Combines prompt management and experiment tracking in single platform (vs separate tools like Weights & Biases or Evidently), with automatic trace-to-experiment linking avoiding manual data alignment
+5 more capabilities