-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathtempo.yaml
More file actions
69 lines (62 loc) · 1.37 KB
/
tempo.yaml
File metadata and controls
69 lines (62 loc) · 1.37 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
server:
http_listen_port: 3200
distributor:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
# Query frontend for TraceQL metrics
query_frontend:
search:
duration_slo: 5s
throughput_bytes_slo: 1.073741824e+09
metrics:
max_duration: 0s
# Querier configuration
querier:
search:
prefer_self: 10
# Metrics generator for Grafana Drilldown (RED metrics from traces)
metrics_generator:
registry:
external_labels:
source: tempo
storage:
path: /tmp/tempo/generator/wal
remote_write:
- url: http://prometheus:9090/api/v1/write
send_exemplars: true
processor:
service_graphs:
dimensions:
- service.name
- service.namespace
span_metrics:
dimensions:
- service.name
- span.name
- span.kind
- status.code
local_blocks:
flush_to_storage: false
max_block_bytes: 100000000 # 100MB max block size for metrics generator
overrides:
max_traces_per_user: 50000
metrics_generator_processors:
- service-graphs
- span-metrics
- local-blocks
storage:
trace:
backend: local
local:
path: /tmp/tempo/blocks
wal:
path: /tmp/tempo/wal
compactor:
compaction:
max_block_bytes: 1073741824 # 1GB max block size
max_compaction_objects: 1000000