From 6dff4efa2ccffb74469ca0b60752b409c8839d20 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sat, 31 Oct 2026 11:05:38 +0100 Subject: [PATCH] Update tempo.yaml file and mount point --- docker-compose.yml | 4 ++-- tempo/tempo.yaml | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 27c6e3f..aa93842 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,13 +59,13 @@ services: - lgmtnet tempo: - image: grafana/tempo:latest + image: grafana/tempo:2.5.0 container_name: tempo command: - "-config.file=/etc/tempo.yaml" volumes: - /var/lib/docker/volumes/hawser_stacks/_data/stack-lgtm/tempo/tempo.yaml:/etc/tempo.yaml - - /var/lib/docker/volumes/stack-lgtm/tempo/data:/tmp/tempo/traces + - /var/lib/docker/volumes/stack-lgtm/tempo/data:/tmp/tempo ports: - "3200:3200" networks: diff --git a/tempo/tempo.yaml b/tempo/tempo.yaml index 317a3e9..ac4f597 100644 --- a/tempo/tempo.yaml +++ b/tempo/tempo.yaml @@ -9,9 +9,18 @@ distributor: http: ingester: + max_block_duration: 5m + +compactor: + compaction: + block_retention: 168h storage: trace: backend: local + local: - path: /tmp/tempo/traces \ No newline at end of file + path: /tmp/tempo/traces + + wal: + path: /tmp/tempo/wal \ No newline at end of file