Skip to content

Commit

Permalink
Update docker image in examples/demo from 0.88.0 to 0.116.1
Browse files Browse the repository at this point in the history
Update collector configuration to keep metrics working on port 8888
  • Loading branch information
apolzek committed Jan 7, 2025
1 parent 165a18f commit dd2a56f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
OTELCOL_IMG=otel/opentelemetry-collector:0.88.0
OTELCOL_IMG=otel/opentelemetry-collector:0.116.1
OTELCOL_ARGS=
8 changes: 8 additions & 0 deletions examples/demo/otel-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@ service:
receivers: [otlp]
processors: [batch]
exporters: [debug, prometheus]
telemetry:
metrics:
readers:
- pull:
exporter:
prometheus:
host: '0.0.0.0'
port: 8888

0 comments on commit dd2a56f

Please sign in to comment.