File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
labs/observability/lgtm/docker/monolithic Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ services:
84
84
command :
85
85
- " -target=all"
86
86
- " -server.http-listen-port=3200"
87
- - " -storage.trace.backend=local" # tell tempo where to permanently put traces
88
- - " -storage.trace.wal.path=/tmp/tempo/wal" # tell tempo where to store the wal
89
- - " -storage.trace.local.path=/tmp/tempo/traces"
87
+ - " -storage.trace.backend=local"
88
+ - " -storage.trace.wal.path=/tmp/tempo/wal" # tell tempo where to store the wal
89
+ - " -storage.trace.local.path=/tmp/tempo/traces" # tell tempo where to permanently put traces
90
90
- " -config.file=/etc/tempo/config.yaml"
91
91
configs :
92
92
- source : tempo-config
@@ -137,6 +137,7 @@ configs:
137
137
uid: loki
138
138
access: proxy
139
139
url: "http://loki:3100"
140
+ orgId: 1
140
141
version: 1
141
142
editable: true
142
143
isDefault: false
@@ -149,31 +150,33 @@ configs:
149
150
type: prometheus
150
151
uid: mimir
151
152
access: proxy
152
- orgId: 1
153
153
url: "http://mimir:3100/prometheus"
154
+ orgId: 1
154
155
version: 1
155
156
editable: true
156
157
isDefault: true
157
158
basicAuth: false
158
159
jsonData:
159
160
httpHeaderName1: "X-Scope-OrgID"
160
- alertmanagerUid: "alertmanager"
161
161
secureJsonData:
162
162
httpHeaderValue1: "tenant1"
163
163
- name: Tempo
164
164
type: tempo
165
165
uid: tempo
166
166
access: proxy
167
- orgId: 1
168
167
url: "http://tempo:3200"
168
+ orgId: 1
169
169
version: 1
170
170
editable: true
171
171
isDefault: false
172
172
basicAuth: false
173
173
apiVersion: 1
174
174
jsonData:
175
+ httpHeaderName1: "X-Scope-OrgID"
175
176
serviceMap:
176
177
datasourceUid: mimir
178
+ secureJsonData:
179
+ httpHeaderValue1: "tenant1"
177
180
178
181
tempo-config :
179
182
content : |
@@ -183,3 +186,6 @@ configs:
183
186
protocols:
184
187
grpc:
185
188
endpoint: "tempo:4317"
189
+ query_frontend:
190
+ multi_tenant_queries_enabled: true
191
+ multitenancy_enabled: true
Original file line number Diff line number Diff line change @@ -87,6 +87,9 @@ otelcol.exporter.prometheus "default" {
87
87
otelcol.exporter.otlp "tempo" {
88
88
client {
89
89
endpoint = coalesce(sys.env("TEMPO_HOST"), "localhost:4317")
90
+ headers = {
91
+ "X-Scope-OrgID" = "tenant1",
92
+ }
90
93
tls {
91
94
insecure = true
92
95
insecure_skip_verify = true
You can’t perform that action at this time.
0 commit comments