forked from grafana/tempo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.libsonnet
More file actions
145 lines (141 loc) · 3.52 KB
/
config.libsonnet
File metadata and controls
145 lines (141 loc) · 3.52 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
_images+:: {
tempo: 'grafana/tempo:latest',
tempo_query: 'grafana/tempo-query:latest',
tempo_vulture: 'grafana/tempo-vulture:latest',
rollout_operator: 'grafana/rollout-operator:v0.1.1',
memcached: 'memcached:1.6.32-alpine',
memcachedExporter: 'prom/memcached-exporter:v0.14.3',
},
_config+:: {
gossip_member_label: 'tempo-gossip-member',
// Labels that service selectors should not use
service_ignored_labels:: [self.gossip_member_label],
variables_expansion: false,
variables_expansion_env_mixin: null,
node_selector: null,
ingester_allow_multiple_replicas_on_same_node: false,
// disable tempo-query by default
tempo_query: {
enabled: false,
},
compactor: {
replicas: 1,
resources: {
requests: {
cpu: '500m',
memory: '3Gi',
},
limits: {
cpu: '1',
memory: '5Gi',
},
},
},
query_frontend: {
replicas: 1,
resources: {
requests: {
cpu: '500m',
memory: '1Gi',
},
limits: {
cpu: '1',
memory: '2Gi',
},
},
},
querier: {
replicas: 2,
resources: {
requests: {
cpu: '500m',
memory: '1Gi',
},
limits: {
cpu: '1',
memory: '2Gi',
},
},
},
ingester: {
pvc_size: error 'Must specify an ingester pvc size',
pvc_storage_class: error 'Must specify an ingester pvc storage class',
replicas: 3,
resources: {
requests: {
cpu: '3',
memory: '3Gi',
},
limits: {
cpu: '5',
memory: '5Gi',
},
},
},
distributor: {
receivers: error 'Must specify receivers',
replicas: 1,
resources: {
requests: {
cpu: '3',
memory: '3Gi',
},
limits: {
cpu: '5',
memory: '5Gi',
},
},
},
metrics_generator: {
pvc_size: error 'Must specify a metrics-generator pvc size',
pvc_storage_class: error 'Must specify a metrics-generator pvc storage class',
ephemeral_storage_request_size: error 'Must specify a generator ephemeral_storage_request size',
ephemeral_storage_limit_size: error 'Must specify a metrics generator ephemeral_storage_limit size',
replicas: 0,
resources: {
requests: {
cpu: '500m',
memory: '1Gi',
},
limits: {
cpu: '1',
memory: '2Gi',
},
},
},
memcached: {
replicas: 3,
connection_limit: 4096,
memory_limit_mb: 1024,
},
jaeger_ui: {
base_path: '/',
},
vulture: {
replicas: 0,
tempoPushUrl: 'http://distributor',
tempoQueryUrl: 'http://query-frontend:%s' % $._config.port,
tempoOrgId: '',
tempoRetentionDuration: '336h',
tempoSearchBackoffDuration: '5s',
tempoReadBackoffDuration: '10s',
tempoWriteBackoffDuration: '10s',
},
ballast_size_mbs: '1024',
port: 3200,
http_api_prefix: '',
gossip_ring_port: 7946,
backend: error 'Must specify a backend', // gcs|s3
bucket: error 'Must specify a bucket',
overrides_configmap_name: 'tempo-overrides',
overrides+:: {
super_user: {
max_traces_per_user: 100000,
ingestion_rate_limit_bytes: 200e5, // ~20MB per sec
ingestion_burst_size_bytes: 200e5, // ~20MB
max_bytes_per_trace: 300e5, // ~30MB
},
},
},
}