forked from grafana/tempo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-base.yaml
More file actions
97 lines (83 loc) · 2.55 KB
/
config-base.yaml
File metadata and controls
97 lines (83 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#
# base config for e2e tests. any field in this config can be overridden by passing in a
# ConfigOverlay to the e2e test framework.
#
# Note: A lot of this is boilerplate, but there a few settings that exist to hasten
# the normal Tempo processes for the sake of e2e tests. See all comments marked "timings"
# below.
#
stream_over_http_enabled: true
partition_ring_live_store: true
server:
http_listen_port: 3200
log_level: info
overrides:
per_tenant_override_config: /shared/overrides.yaml
per_tenant_override_period: 1s # timings: check for updated overrides every second
defaults:
metrics_generator:
processors: [service-graphs, span-metrics]
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
live_store:
max_trace_live: 5s # timings: the max amount of time a trace can be in the live map
max_trace_idle: 1s # timings: the max amount of time a trace can be idle in the live map
flush_check_period: 5s # timings: check for traces to flush and wal blocks to complete every 5s
max_block_duration: 5s # timings: complete any wal file that's older than 5s. 10s is the max age of a wal file
partition_ring:
kvstore:
store: memberlist
storage:
trace:
backend: local
local:
path: /shared/var/tempo/backend
pool:
max_workers: 10
queue_depth: 100
blocklist_poll: 2s # timings: check for updated blocklists every 2s
memberlist:
abort_if_cluster_join_fails: false
bind_port: 7946
join_members:
- live-store-zone-a-0:7946
- live-store-zone-b-0:7946
- query-frontend:7946
- distributor:7946
- querier:7946
block_builder:
consume_cycle_duration: 10s # timings: how often to check and flush a new block?
assigned_partitions:
block-builder-0:
- 0
ingest:
kafka:
address: kafka:9092
topic: tempo-ingest
querier:
frontend_worker:
frontend_address: query-frontend:9095
query_live_store: true
metrics_generator:
registry:
collection_interval: 1s # timings: collect and send metrics every second
storage:
path: /shared/var/tempo
remote_write:
- url: http://prometheus:9090/api/v1/write
send_exemplars: true
backend_scheduler:
provider:
compaction:
min_cycle_interval: 50ms # timings
measure_interval: 1s # timings
backend_worker:
backend_scheduler_addr: backend-scheduler:9095
finish_on_shutdown_timeout: 1s # timings
# ring: the ring is not configured in the base config b/c it causes the backend worker to start significantly slower
# kvstore:
# store: memberlist