Skip to content

Commit

Permalink
chore(infra): update trace confing (#44)
Browse files Browse the repository at this point in the history
* chore: remove metrics_generator in tempo

* chore: save 14days for trace data

* chore: flush data when ingester shutdown
  • Loading branch information
k1g99 authored Mar 21, 2024
1 parent 057822e commit 87d997f
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions config/tempo/tempo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
insecure: true

0 comments on commit 87d997f

Please sign in to comment.