-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtempo_config.yaml.j2
52 lines (45 loc) · 1.44 KB
/
tempo_config.yaml.j2
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
server:
http_listen_port: 3200
distributor:
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
otlp:
protocols:
http:
grpc:
#ingester:
# max_block_duration: 5m # cut the headblock when this much time passes. this should probably be left alone normally
compactor:
compaction:
block_retention: 96h # overall Tempo trace retention.
metrics_generator:
registry:
external_labels:
source: tempo
cluster: {{ MACHINE_FQDN }}
storage:
path: /var/tempo/generator/wal
remote_write:
- url: {{ TF_VAR_PROMETHEUS_CATCHALL_URL }}/api/v1/write
storage:
trace:
backend: s3 # backend configuration to use
wal:
path: /var/tempo/wal # where to store the wal locally
s3:
bucket: {{ TEMPO_S3_BUCKET }} # how to store data in s3
endpoint: {{STORAGE_DOMAIN}}
region: {{S3_REGION}}
access_key: {{S3_ACCESS_KEY}}
secret_key: {{S3_SECRET_KEY}}
insecure: false
tls_insecure_skip_verify: true
# For using AWS, select the appropriate regional endpoint and region
# endpoint: s3.dualstack.us-west-2.amazonaws.com
# region: us-west-2
querier:
frontend_worker:
frontend_address: localhost:9095
overrides:
defaults:
metrics_generator:
processors: ['service-graphs', 'span-metrics']