From 87d997f4dcfd3757a452c497b46be414464eb5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=9D=BC=EA=B1=B4?= <100272259+k1g99@users.noreply.github.com> Date: Thu, 21 Mar 2024 21:47:42 +0900 Subject: [PATCH] chore(infra): update trace confing (#44) * chore: remove metrics_generator in tempo * chore: save 14days for trace data * chore: flush data when ingester shutdown --- config/tempo/tempo.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/config/tempo/tempo.yml b/config/tempo/tempo.yml index 8a271e9..b52eb34 100644 --- a/config/tempo/tempo.yml +++ b/config/tempo/tempo.yml @@ -20,21 +20,13 @@ distributor: 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 + flush_all_on_shutdown: true compactor: compaction: - block_retention: 1h # overall Tempo trace retention. set for demo purposes + block_retention: 336h # Duration to keep blocks. Default is 14 days # metrics_generator: -# registry: -# external_labels: -# source: tempo -# cluster: docker-compose -# storage: -# path: /tmp/tempo/generator/wal -# remote_write: -# - url: http://prometheus:9090/api/v1/write -# send_exemplars: true storage: trace: @@ -46,9 +38,4 @@ storage: endpoint: minio:9000 access_key: ${MINIO_ROOT_USER} secret_key: ${MINIO_ROOT_PASSWORD} - insecure: true - -overrides: - defaults: - metrics_generator: - processors: [service-graphs, span-metrics] # enables metrics generator \ No newline at end of file + insecure: true \ No newline at end of file