Expand description
Data models for the Langfuse-compatible observability engine.
Defines Trace, Observation, Session, and supporting types that
form the core telemetry data model. All types are serializable for
API responses and storage.
Structs§
- Capture
Config - Configuration for LLM prompt/response capture.
- Enriched
Session - Enriched session with aggregated data.
- Model
Stats - Per-model aggregated statistics.
- Observation
- Observation represents a single unit of work within a trace.
- Session
- Session groups multiple traces from the same user interaction.
- Summary
Stats - Overall summary statistics.
- Token
Usage - Token usage statistics for an LLM call.
- Trace
- Trace represents a single graph invocation or request lifecycle.
Enums§
- Observation
Level - Severity level for observations.
- Observation
Type - Type of observation within a trace.
Type Aliases§
- Id
- Unique identifier for a trace or observation.