Skip to content

Commit

Permalink
update example to use v0.109.0 of the collector
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed Sep 20, 2024
1 parent bc34371 commit 83747d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ services:
image: memcached:alpine
command: memcached -m 64
ports:
- "11211:11211"
- "11211:11211"

zookeeper:
image: confluentinc/cp-zookeeper:latest
Expand Down Expand Up @@ -242,8 +242,8 @@ services:
- "16686:16686"

otelcol:
image: otel/opentelemetry-collector:0.54.0
command: [ "--config=/etc/otelcol-config.yml" ]
image: otel/opentelemetry-collector:0.109.0
command: ["--config=/etc/otelcol-config.yml"]
volumes:
- ./otelcol-config.yml:/etc/otelcol-config.yml
ports:
Expand Down
8 changes: 5 additions & 3 deletions otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
exporters:
jaeger:
endpoint: "jaeger:14250"
otlp:
endpoint: "jaeger:4317"
tls:
insecure: true
debug:
Expand All @@ -18,4 +20,4 @@ service:
traces:
receivers: [otlp]
processors: [batch]
exporters: [debug, jaeger]
exporters: [debug, otlp]

0 comments on commit 83747d7

Please sign in to comment.