> ## Documentation Index
> Fetch the complete documentation index at: https://glassray.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Traces

> What a trace is and how to get your traces into Glassray - Langfuse, LangSmith, PostHog, or OpenTelemetry.

A **trace** is a single end-to-end run of your agent: every step, tool call, retrieval, and hand-off from the incoming request to the final answer. Traces are the raw material of everything Glassray does - they get classified into [flows](/flows), judged against your spec, and grouped into [deviations](/deviations).

Glassray stores the full provider document for each trace, so you can inspect the whole run later - in the dashboard, or over the [MCP server](/mcp-server) with `get_trace`.

## Getting traces in

Connect Glassray to your traces one of four ways - [Langfuse](/langfuse), [LangSmith](/langsmith), [PostHog](/posthog), or [OpenTelemetry](/otlp-ingestion). The [Quickstart](/quickstart) walks through it end to end.

## Filtering what gets pulled

A connected source can carry an optional **filter** so only the runs you care about are ingested. You can narrow by trace name and scope (the root run's name, or a descendant step's name), so noisy or irrelevant traces never land.

Filtering is applied **at ingest** - non-matching traces are simply not stored. Filter changes are go-forward: re-sync to apply a new filter to fresh traces.

<Tip>
  Once traces are flowing, head to [Flows](/flows) to see how they're grouped, or [Ask Glassray](/ask-glassray) to explore them in natural language.
</Tip>
