Skip to content

trace

OpenTelemetry traces.

OpenTelemetry traces stored in the Grafana Tempo data store.

Classes

trace:span

Object

Represents a span. A trace is a set of spans with the same trace-id, there is no explicit class representing a trace.

Query

Selector has two forms:

  • TraceQL query string
  • A hexadecimal trace-ID.

A TraceQL query can select spans from many traces. Example:

trace:span:{resource.k8s.namespace.name="korrel8r"}

A trace-id query returns all the spans included in a trace. Example:

trace:span:a7880cc221e84e0d07b15993358811b7

Store

The trace domain accepts an optional “tempoStack” field with a URL to connect.

stores:
    domain: trace
    tempoStack: "https://url-of-tempostack"