Skip to content

Commit

Permalink
inspectIT#1269: Fixed OtlpGrpcTraceExporterService to use "otlGrpc" i…
Browse files Browse the repository at this point in the history
…nstead of "otlp-grpc", which led to exceptions
  • Loading branch information
Heiko Holz committed Jan 18, 2022
1 parent 8ff8bd6 commit 0a010bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0a010bc

Please sign in to comment.