From 0a010bc0664fc3049a1f77f95eaf3557f7587643 Mon Sep 17 00:00:00 2001 From: Heiko Holz Date: Tue, 18 Jan 2022 10:54:53 +0100 Subject: [PATCH] #1269: Fixed OtlpGrpcTraceExporterService to use "otlGrpc" instead of "otlp-grpc", which led to exceptions --- .../ocelot/core/exporter/OtlpGrpcTraceExporterService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/OtlpGrpcTraceExporterService.java b/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/OtlpGrpcTraceExporterService.java index 06a2d9df39..644572e9bd 100644 --- a/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/OtlpGrpcTraceExporterService.java +++ b/inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/exporter/OtlpGrpcTraceExporterService.java @@ -13,7 +13,7 @@ /** * Service for {@link io.opentelemetry.exporter.otlp.trace.OtlpGrpcSpanExporter}. - * Can be dynamically started and stopped using the exporters.trace.otlp.enabled configuration + * Can be dynamically started and stopped using the exporters.trace.otlp-grpc.enabled configuration */ @Component @Slf4j @@ -23,7 +23,7 @@ public class OtlpGrpcTraceExporterService extends DynamicallyActivatableTraceExp private SpanExporter spanExporter; public OtlpGrpcTraceExporterService() { - super("exporters.tracing.otlp-grpc", "tracing.enabled"); + super("exporters.tracing.otlpGrpc", "tracing.enabled"); } @Override