Skip to main content
Every infrastructure has a trace store, Tempo, and an OpenTelemetry endpoint on every node, ready to receive. Your services send traces with the OpenTelemetry SDK for their language, and you read them in the console as a waterfall of spans.

Send traces

Point your OpenTelemetry SDK at the in-cluster endpoint: The simplest way is with the standard OpenTelemetry environment variables in inframan.yaml:
inframan.yaml
Set the service name to the service’s name in inframan.yaml. Inframan finds a service’s traces by matching it, so traces sent under another name won’t show up for the service.
Then turn on tracing in your code. Automatic instrumentation covers HTTP servers and clients, database drivers and most popular frameworks:
Start your app with the instrumentation loaded:
inframan.yaml
Tracing is opt-in on purpose. Your SDK decides what’s traced and how much is sampled, and nothing is added to your services that you didn’t choose.

Read traces

Open Observability, select Applications, then Traces. Distributed Traces lists recent traces for the selected services. Select one to open its Trace Waterfall:
  • The trace’s Trace ID, total Duration, number of Spans and the Services it crossed.
  • One bar per span, sized by its duration relative to the whole trace, so the slow step stands out.
A log line with a trace_id field opens its trace directly. See Logs.

How long traces are kept

24 hours on a non-production infrastructure.

Traces for an AI assistant

A connected assistant can search a service’s recent traces, over up to 7 days, and open any trace by its ID. It gets the spans in order, with their HTTP, RPC, database and exception details, and the spans that failed, which makes it good at finding where a slow or failing request went wrong.