Skip to content

Commit

Permalink
fix: update references to logging exporter (#1178)
Browse files Browse the repository at this point in the history
* examples: update references to logging exporter

This exporter has been replaced by the debug exporter and will be removed soon

Signed-off-by: Alex Boten <[email protected]>

* update example to use v0.109.0 of the collector

Signed-off-by: Alex Boten <[email protected]>

---------

Signed-off-by: Alex Boten <[email protected]>
Co-authored-by: Kayla Reopelle <[email protected]>
  • Loading branch information
codeboten and kaylareopelle authored Oct 1, 2024
1 parent 7b349b1 commit 0a7f9e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ services:
image: memcached:alpine
command: memcached -m 64
ports:
- "11211:11211"
- "11211:11211"

zookeeper:
image: confluentinc/cp-zookeeper:latest
Expand Down Expand Up @@ -248,8 +248,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
10 changes: 6 additions & 4 deletions otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ 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
logging:
debug:

processors:
batch:
Expand All @@ -18,4 +20,4 @@ service:
traces:
receivers: [otlp]
processors: [batch]
exporters: [logging, jaeger]
exporters: [debug, otlp]

0 comments on commit 0a7f9e7

Please sign in to comment.