Skip to main content

Overview

This guide explains the core data model for developers consuming AI observability data through Atla’s SDK and APIs. Our data model is built on OpenTelemetry standards and captures the complete lifecycle of AI applications from traces to custom metrics.

Traces

A Trace represents a complete AI interaction or workflow - typically a full conversation or agent execution.

Trace Structure

Spans

A Span represents an individual operation within a trace - typically a single AI model call, tool execution, or processing step.

Span Structure

Span Annotations

Span Annotations provide AI-powered analysis of potential issues, failures, or interesting patterns within individual spans.

Annotation Structure

Custom Metrics

Custom Metrics capture quantitative quality measurements across traces, such as user satisfaction scores, factual accuracy ratings, or business-specific KPIs.

Custom Metric Definition

Custom Metric Values