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

# Tracing

> View and analyze distributed traces in OpenLIT

<video autoPlay muted loop controls className="w-full aspect-video rounded-xl" src="https://mintcdn.com/openlit/bDceVwnmhemq49YN/images/trace-details.mp4?fit=max&auto=format&n=bDceVwnmhemq49YN&q=85&s=cc03b586ff354a82b92f2ee3ce433b3d" data-path="images/trace-details.mp4" />

The OpenLIT platform provides comprehensive trace visualization capabilities. You can view traces in two ways:

1. **Traces Page**: Navigate to the **Traces** section at `127.0.0.1:3000/traces` to view all distributed traces from your AI applications with detailed span analysis and execution flow.

2. **Dashboard Widgets**: Create custom trace widgets in your dashboards to monitor specific trace metrics, latency trends, and performance insights alongside other observability data.

## Group traces

Use **Group By** on the Traces page to roll up large trace lists into meaningful groups before drilling into individual spans. Grouping works with the selected time range and any active filters, so you can narrow the dataset first and then compare trace segments.

You can group traces by:

* **Model**: Compare requests by `gen_ai.request.model`.
* **Provider**: Compare requests by `gen_ai.system`.
* **Span Name**: Group repeated operations or framework steps.
* **Application**: Compare services using the `service.name` resource attribute.
* **Custom attribute**: Group by any span attribute, resource attribute, or top-level trace field available in your trace data.

Grouped rows show the number of spans in each group, total cost, token usage, and average duration. Click a group row to drill into the matching traces. The breadcrumb above the table shows the current grouping path and lets you return to all groups or remove grouping.

<Note>
  Grouping is best for finding high-volume models, expensive providers, slow span types, or application-level hotspots before opening an individual trace.
</Note>

## Filter and group together

Grouping can be combined with the existing trace filters. For example, you can filter to a single environment, apply a maximum cost threshold, and then group by model to find which models dominate that filtered slice. Custom attribute filters and custom group-by attributes can be used together when you need to inspect application-specific metadata.

***

<CardGroup cols={3}>
  <Card title="Quickstart: LLM Observability" href="/latest/openlit/quickstart-ai-observability" icon="bolt">
    Production-ready AI monitoring setup in 2 simple steps with zero code changes
  </Card>

  <Card title="Create a dashboard" href="/latest/openlit/dashboards/overview" icon="grid">
    Create custom visualizations with flexible widgets, queries, and real-time AI monitoring
  </Card>

  <Card title="Integrations" href="/latest/sdk/integrations/overview" icon="circle-nodes">
    60+ AI integrations with automatic instrumentation and performance tracking
  </Card>
</CardGroup>

<Card title="Zero-code observability with the OpenLIT Controller" icon="tower-broadcast" href="/latest/controller/overview">
  Discover and instrument LLM traffic across Kubernetes, Docker, and Linux using eBPF — no code changes required.
</Card>
