in exporters/trace/src/main/java/com/google/cloud/opentelemetry/trace/TraceExporter.java [36:49]
private TraceExporter(TraceConfiguration configuration) {
this.internalTraceExporterSupplier =
Suppliers.memoize(
() -> {
try {
return InternalTraceExporter.createWithConfiguration(configuration);
} catch (IOException e) {
logger.warn(
"Unable to initialize Google Cloud TraceExporter. Export operation failed, switching to NoopSpanExporter.",
e);
return new NoopSpanExporter();
}
});
}