Skip to content

Commit 94f953c

Browse files
committed
Correct OTel Collector config.
Also move up all versions of relevant components to latest. Signed-off-by: Heds Simons <hedley.simons@grafana.com>
1 parent ecf9bdd commit 94f953c

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

docker-compose-cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
# auto-logs from those traces.
88
# Includes Metrics, Logs, Traces and Profiles.
99
alloy:
10-
image: grafana/alloy:v1.8.1
10+
image: grafana/alloy:v1.9.1
1111
ports:
1212
- "12347:12345"
1313
- "12348:12348"

docker-compose-otel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919

2020
# The Grafana dashboarding server.
2121
grafana:
22-
image: grafana/grafana:11.6.0
22+
image: grafana/grafana:12.0.2
2323
volumes:
2424
- "./grafana/definitions:/var/lib/grafana/dashboards"
2525
- "./grafana/provisioning:/etc/grafana/provisioning"
@@ -135,7 +135,7 @@ services:
135135
# The Tempo service stores traces send to it by Grafana opentelemetry-collector, and takes
136136
# queries from Grafana to visualise those traces.
137137
tempo:
138-
image: grafana/tempo:2.7.2
138+
image: grafana/tempo:2.8.1
139139
ports:
140140
- "3200:3200"
141141
- "55680:55680"
@@ -148,7 +148,7 @@ services:
148148
# The Loki service stores logs sent to it, and takes queries from Grafana
149149
# to visualise those logs.
150150
loki:
151-
image: grafana/loki:3.4.3
151+
image: grafana/loki:3.5.1
152152
command: ["--pattern-ingester.enabled=true", "-config.file=/etc/loki/loki.yaml"]
153153
ports:
154154
- "3100:3100"
@@ -164,7 +164,7 @@ services:
164164
- "./mimir/mimir.yaml:/etc/mimir.yaml"
165165

166166
pyroscope:
167-
image: grafana/pyroscope:1.13.1
167+
image: grafana/pyroscope:1.13.5
168168
ports:
169169
- "4040:4040"
170170
command: ["server"]

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
# auto-logs from those traces.
88
# Includes Metrics, Logs, Traces and Profiles.
99
alloy:
10-
image: grafana/alloy:v1.8.1
10+
image: grafana/alloy:v1.9.1
1111
ports:
1212
- "12347:12345"
1313
- "12348:12348"
@@ -27,7 +27,7 @@ services:
2727

2828
# The Grafana dashboarding server.
2929
grafana:
30-
image: grafana/grafana:11.6.0
30+
image: grafana/grafana:12.0.2
3131
volumes:
3232
- "./grafana/definitions:/var/lib/grafana/dashboards"
3333
- "./grafana/provisioning:/etc/grafana/provisioning"
@@ -146,7 +146,7 @@ services:
146146
# The Tempo service stores traces send to it by Grafana Alloy, and takes
147147
# queries from Grafana to visualise those traces.
148148
tempo:
149-
image: grafana/tempo:2.7.2
149+
image: grafana/tempo:2.8.1
150150
ports:
151151
- "3200:3200"
152152
- "9411:9411"
@@ -160,7 +160,7 @@ services:
160160
# The Loki service stores logs sent to it, and takes queries from Grafana
161161
# to visualise those logs.
162162
loki:
163-
image: grafana/loki:3.4.3
163+
image: grafana/loki:3.5.1
164164
command: ["--pattern-ingester.enabled=true", "-config.file=/etc/loki/loki.yaml"]
165165
ports:
166166
- "3100:3100"
@@ -188,7 +188,7 @@ services:
188188
command: ["run", "-o", "experimental-prometheus-rw", "/scripts/mythical-loadtest.js"]
189189

190190
pyroscope:
191-
image: grafana/pyroscope:1.13.1
191+
image: grafana/pyroscope:1.13.5
192192
ports:
193193
- "4040:4040"
194194
command: ["server"]

otel/otel.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,20 @@ service:
201201
# Comment out other `processor` definitions and uncomment the line below to use tail sampling.
202202
#processors: [tail_sampling, batch]
203203
# Export to the `otlp/grafana` exporter.
204-
#exporters: [otlp/grafana]
204+
exporters: [otlp/grafana]
205205
# Comment out other `exporters` definitions and uncomment the line below to generate span metrics
206206
# from within the OpenTelemetry Collector as well as exporting traces to Tempo.
207-
exporters: [otlp/grafana, spanmetrics, servicegraph]
207+
#exporters: [otlp/grafana, spanmetrics, servicegraph]
208208

209209
# Define the metrics pipeline.
210210
metrics:
211211
# Receive metrics from the `prometheus` receiver.
212-
#receivers: [otlp, prometheus]
212+
receivers: [otlp, prometheus]
213213
# Comment out other `receivers` definitions and uncomment the line below to import spanmetrics as well
214214
# as prometheus metrics.
215-
receivers: [otlp, prometheus, spanmetrics, servicegraph]
216-
# Use the `batch` processor to process received metrics.
215+
#receivers: [otlp, prometheus, spanmetrics, servicegraph]
216+
# Use the `batch` processor to process received metrics, use the transform metric to ensure that spanmetric
217+
# metrics are in the correct format for Grafana Cloud (doesn't take effect unless receivers above are used.)
217218
processors: [transform, batch]
218219
# Export to the `prometheusremtotewrite` exporter.
219220
exporters: [prometheusremotewrite]

0 commit comments

Comments
 (0)