From 0a7f9e7950a37292d0092da7433dce821a9f524f Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:37:26 -0700 Subject: [PATCH] fix: update references to logging exporter (#1178) * 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 <223565+codeboten@users.noreply.github.com> * update example to use v0.109.0 of the collector Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> --------- Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com> --- docker-compose.yml | 6 +++--- otelcol-config.yml | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index af815eabe..b77ad0e9d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -217,7 +217,7 @@ services: image: memcached:alpine command: memcached -m 64 ports: - - "11211:11211" + - "11211:11211" zookeeper: image: confluentinc/cp-zookeeper:latest @@ -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: diff --git a/otelcol-config.yml b/otelcol-config.yml index e653551b5..c406f0517 100644 --- a/otelcol-config.yml +++ b/otelcol-config.yml @@ -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: @@ -18,4 +20,4 @@ service: traces: receivers: [otlp] processors: [batch] - exporters: [logging, jaeger] + exporters: [debug, otlp]