Skip to content

Commit

Permalink
Merge pull request #26 from timlrx/update-infra
Browse files Browse the repository at this point in the history
chore: update tempo version and settings
  • Loading branch information
timlrx authored Jul 13, 2024
2 parents 42b3691 + 9460be5 commit b61e18e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .infra/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
command: [ "-config.file=/etc/tempo.yml" ]
volumes:
- ./tempo.yml:/etc/tempo.yml
- ./tempo-data:/tmp/tempo
- ./tempo-data:/var/tempo
ports:
- "3200" # query endpoint needed by grafana and prometheus

Expand Down
31 changes: 14 additions & 17 deletions .infra/tempo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
search_enabled: true
metrics_generator_enabled: true

server:
http_listen_port: 3200
grpc_server_max_recv_msg_size: 33554432 # 32mb
Expand Down Expand Up @@ -34,27 +31,27 @@ compactor:
compacted_block_retention: 10m

metrics_generator:
registry:
external_labels:
source: tempo
cluster: docker-compose
storage:
path: /tmp/tempo/wal
path: /var/tempo/generator/wal
remote_write:
- url: http://prometheus:9090/api/v1/write
send_exemplars: true

overrides:
metrics_generator_processors: ['service-graphs', 'span-metrics']
traces_storage:
path: /var/tempo/generator/traces

storage:
trace:
backend: local # backend configuration to use
block:
bloom_filter_false_positive: .05 # bloom filter false positive rate. lower values create larger filters but fewer false positives
index_downsample_bytes: 1000 # number of bytes per index record
encoding: zstd # block encoding/compression. options: none, gzip, lz4-64k, lz4-256k, lz4-1M, lz4, snappy, zstd, s2
wal:
path: /tmp/tempo/wal # where to store the the wal locally
encoding: snappy # wal encoding/compression. options: none, gzip, lz4-64k, lz4-256k, lz4-1M, lz4, snappy, zstd, s2
path: /var/tempo/wal # where to store the wal locally
local:
path: /tmp/tempo/blocks
pool:
max_workers: 100 # worker pool determines the number of parallel requests to the object store backend
queue_depth: 10000
path: /var/tempo/blocks

overrides:
defaults:
metrics_generator:
processors: [service-graphs, span-metrics] # enables metrics generator

0 comments on commit b61e18e

Please sign in to comment.