forked from douglasrubims/railway-tempo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtempo.yml
81 lines (73 loc) · 1.94 KB
/
tempo.yml
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
stream_over_http_enabled: true
server:
http_listen_address: '::0'
http_listen_port: 3100
log_level: info
memberlist:
bind_addr:
- '::'
bind_port: 7946
query_frontend:
search:
duration_slo: 5s
throughput_bytes_slo: 1.073741824e+09
trace_by_id:
duration_slo: 5s
distributor:
# this configuration will listen on all ports and protocols that tempo is capable of.
receivers:
# jaeger: # the receives all come from the OpenTelemetry collector. more configuration information can
# protocols: # be found there: https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver
# thrift_http: #
# grpc: # for a production deployment you should only enable the receivers you need!
# thrift_binary:
# thrift_compact:
# zipkin:
otlp:
protocols:
http:
# grpc:
# opencensus:
# 📕 This, and all the other places where the interface name is hardcoded is necessary because
# tempo sets it to eth0 and it doesn't exist on Railway!
ring:
instance_interface_names:
- railnet0
ingester:
lifecycler:
address: '::'
enable_inet6: true
compactor:
ring:
kvstore:
store: memberlist
enable_inet6: true
instance_interface_names:
- railnet0
metrics_generator:
ring:
enable_inet6: true
instance_interface_names:
- railnet0
registry:
external_labels:
source: tempo
cluster: docker-compose
storage:
path: /var/tempo/generator/wal
remote_write:
- url: http://prometheus:9090/api/v1/write
send_exemplars: true
traces_storage:
path: /var/tempo/generator/traces
storage:
trace:
backend: local # backend configuration to use
wal:
path: /var/tempo/wal # where to store the the wal locally
local:
path: /var/tempo/blocks
overrides:
defaults:
metrics_generator:
processors: [service-graphs, span-metrics, local-blocks] # enables metrics generatorv