exercises

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

tempo.yaml (1410B)


      1 # Tempo configuration for the distributed observability stack
      2 #
      3 # Receives traces over OTLP (gRPC 4317 / HTTP 4318) directly from the services
      4 # and is queried through Grafana at :3200 — Tempo has no UI of its own.
      5 #
      6 # Note: this targets Tempo v3.x, which replaced the v2 `ingester` and
      7 # `compactor` config blocks with a block-builder architecture. Those keys
      8 # are rejected outright by v3, so they are intentionally absent here.
      9 
     10 server:
     11   http_listen_port: 3200
     12   grpc_listen_port: 9096
     13 
     14 distributor:
     15   receivers:
     16     otlp:
     17       protocols:
     18         grpc:
     19           endpoint: 0.0.0.0:4317
     20         http:
     21           endpoint: 0.0.0.0:4318
     22 
     23 # Derives RED metrics and service-graph data from spans and remote-writes
     24 # them to Prometheus. This is what powers Traces Drilldown's rate/error/
     25 # duration views and the service map.
     26 metrics_generator:
     27   registry:
     28     external_labels:
     29       source: tempo
     30   storage:
     31     path: /var/tempo/generator/wal
     32     remote_write:
     33       - url: http://prometheus:9090/api/v1/write
     34         send_exemplars: true
     35 
     36 storage:
     37   trace:
     38     backend: local          # local filesystem is fine for dev; use S3/GCS in prod
     39     wal:
     40       path: /var/tempo/wal
     41     local:
     42       path: /var/tempo/blocks
     43 
     44 overrides:
     45   defaults:
     46     metrics_generator:
     47       processors:
     48         - service-graphs
     49         - span-metrics
     50         - local-blocks     # required for TraceQL metrics in Traces Drilldown