Support otlp_span and otelp_metric exporter config names
MODIFY
javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/TracerInstaller.java
javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/TracerInstaller.java
@@ -91,6 +91,7 @@ public class TracerInstaller {
if (metricExporterFactory
.getClass()
.getSimpleName()
+ .replace("_", "")
.toLowerCase()
.startsWith(exporterName.toLowerCase())) {
return metricExporterFactory;
@@ -107,6 +108,7 @@ public class TracerInstaller {
if (spanExporterFactory
.getClass()
.getSimpleName()
+ .replace("_", "")
.toLowerCase()
.startsWith(exporterName.toLowerCase())) {
return spanExporterFactory;

Support otlp_span and otelp_metric exporter config names (#1253)

Signed-off-by: Pavol Loffay <ploffay@redhat.com>