aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/docker-compose/config/tempo.yaml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-08-09 11:01:09 +0200
committerrtkay123 <dev@kanjala.com>2025-08-09 11:01:09 +0200
commit0d4395a8f642312b1a7964ea8cdea1d43cf81c8b (patch)
tree0bb26862c1bcdd1c64d3dd6f2785272eef8d466c /contrib/docker-compose/config/tempo.yaml
parentaffa986bf1f84b725bd23309986250ff04cf2c93 (diff)
downloadwarden-0d4395a8f642312b1a7964ea8cdea1d43cf81c8b.tar.bz2
warden-0d4395a8f642312b1a7964ea8cdea1d43cf81c8b.zip
feat: tempo and loki
Diffstat (limited to 'contrib/docker-compose/config/tempo.yaml')
-rw-r--r--contrib/docker-compose/config/tempo.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/docker-compose/config/tempo.yaml b/contrib/docker-compose/config/tempo.yaml
new file mode 100644
index 0000000..218eeb5
--- /dev/null
+++ b/contrib/docker-compose/config/tempo.yaml
@@ -0,0 +1,36 @@
+stream_over_http_enabled: true
+server:
+ http_listen_port: 3200
+ log_level: info
+
+query_frontend:
+ search:
+ duration_slo: 5s
+ throughput_bytes_slo: 1.073741824e+09
+ metadata_slo:
+ duration_slo: 5s
+ throughput_bytes_slo: 1.073741824e+09
+ trace_by_id:
+ duration_slo: 5s
+
+distributor:
+ receivers:
+ otlp:
+ protocols:
+ grpc:
+ endpoint: "tempo:4317"
+
+ingester:
+ max_block_duration: 5m # cut the headblock when this much time passes. this is being set for demo purposes and should probably be left alone normally
+
+compactor:
+ compaction:
+ block_retention: 1h # overall Tempo trace retention. set for demo purposes
+
+storage:
+ trace:
+ backend: local # backend configuration to use
+ wal:
+ path: /var/tempo/wal # where to store the wal locally
+ local:
+ path: /var/tempo/blocks