_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Grafana Tempo — Distributed Tracing

08. 02. 2019 1 min read intermediate

DevOps Intermediate

Grafana Tempo — Distributed Tracing

TempoTracingGrafanaObservability 5 min read

Grafana Tempo pro distributed tracing. Object storage backend, TraceQL dotazy a integrace s Grafana stackem.

Co je Tempo

Grafana Tempo je vysoce škálovatelný tracing backend. Ukládá traces přímo do object storage — žádný Elasticsearch/Cassandra.

  • Pouze object storage — nízké náklady
  • TraceQL — dotazovací jazyk pro traces
  • Nativní integrace s Grafana, Loki, Mimir

Deployment

tempo:
  image: grafana/tempo:2.4.0
  command: ["-config.file=/etc/tempo.yaml"]
  ports:
    - "4317:4317"   # OTLP gRPC
    - "3200:3200"   # Tempo API

# tempo.yaml
server:
  http_listen_port: 3200
distributor:
  receivers:
    otlp:
      protocols:
        grpc:
        http:
storage:
  trace:
    backend: s3
    s3:
      bucket: tempo-traces
      endpoint: s3.eu-west-1.amazonaws.com

TraceQL

# Traces s chybou
{ resource.service.name = "order-service" && status = error }

# Traces delší než 2 sekundy
{ duration > 2s }

# HTTP 500 errory
{ span.http.status_code >= 500 }

# Pipeline
{ resource.service.name = "api-gateway" } | avg(duration) > 500ms

Summary

Grafana Tempo nabízí cost-effective distributed tracing s jednoduchým provozem. TraceQL a nativní Grafana integrace jsou bezkonkurenční.

Need Help with Implementation?

Our team has experience designing and implementing modern architectures. We’re happy to help.

Free Consultation

Share:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.