From 3d712be4424e03384fcec408fe468c2dc4b64070 Mon Sep 17 00:00:00 2001 From: Toshiaki Maki Date: Thu, 17 Oct 2024 18:31:08 +0900 Subject: [PATCH] Use debug exporter instead of remove logging exporter and pin the collector image --- .../zipkin2/reporter/otel/brave/ITOtlpProtoV1EncoderTest.java | 2 +- encoder-brave/src/test/resources/otel-config.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/encoder-brave/src/test/java/zipkin2/reporter/otel/brave/ITOtlpProtoV1EncoderTest.java b/encoder-brave/src/test/java/zipkin2/reporter/otel/brave/ITOtlpProtoV1EncoderTest.java index 8ac13e7..8b98c85 100644 --- a/encoder-brave/src/test/java/zipkin2/reporter/otel/brave/ITOtlpProtoV1EncoderTest.java +++ b/encoder-brave/src/test/java/zipkin2/reporter/otel/brave/ITOtlpProtoV1EncoderTest.java @@ -70,7 +70,7 @@ public class ITOtlpProtoV1EncoderTest { private static OtlpHttpServer otlpHttpServer; private static final String COLLECTOR_IMAGE = - "ghcr.io/open-telemetry/opentelemetry-java/otel-collector"; + "ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.111.0"; private static final Integer COLLECTOR_OTLP_HTTP_PORT = 4318; diff --git a/encoder-brave/src/test/resources/otel-config.yaml b/encoder-brave/src/test/resources/otel-config.yaml index 86a0d3b..04a3271 100644 --- a/encoder-brave/src/test/resources/otel-config.yaml +++ b/encoder-brave/src/test/resources/otel-config.yaml @@ -9,7 +9,7 @@ receivers: zipkin: endpoint: 0.0.0.0:9411 exporters: - logging: + debug: # verbosity: detailed otlphttp: endpoint: ${OTLP_EXPORTER_ENDPOINT} @@ -20,4 +20,4 @@ service: pipelines: traces: receivers: [ otlp, zipkin ] - exporters: [ logging, otlphttp ] + exporters: [ debug, otlphttp ]