mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
This is a very useful stack for local development as well, by allowing to easily access a local grafana instance and look at the accessed endpoints, query usage and durations etc. As a nice side effect this also makes sure we have an easy way to actually test any changes to the opentelemetry integration in an actual environment instead of just listening to a raw socket.
54 lines
986 B
YAML
54 lines
986 B
YAML
---
|
|
stream_over_http_enabled: true
|
|
server:
|
|
http_listen_address: tempo
|
|
http_listen_port: 3200
|
|
log_level: info
|
|
|
|
query_frontend:
|
|
search:
|
|
duration_slo: 5s
|
|
throughput_bytes_slo: 1.073741824e+09
|
|
trace_by_id:
|
|
duration_slo: 5s
|
|
|
|
distributor:
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
http:
|
|
endpoint: tempo:4318
|
|
log_received_spans:
|
|
enabled: false
|
|
metric_received_spans:
|
|
enabled: false
|
|
|
|
ingester:
|
|
max_block_duration: 5m
|
|
|
|
compactor:
|
|
compaction:
|
|
block_retention: 1h
|
|
|
|
metrics_generator:
|
|
registry:
|
|
external_labels:
|
|
source: tempo
|
|
storage:
|
|
path: /tmp/tempo/generator/wal
|
|
remote_write:
|
|
- url: http://prometheus:9090/api/v1/write
|
|
send_exemplars: true
|
|
traces_storage:
|
|
path: /tmp/tempo/generator/traces
|
|
|
|
storage:
|
|
trace:
|
|
backend: local
|
|
wal:
|
|
path: /tmp/tempo/wal
|
|
local:
|
|
path: /tmp/tempo/blocks
|
|
|
|
overrides:
|
|
metrics_generator_processors: [service-graphs, span-metrics, local-blocks]
|