open-telemetry/opentelemetry-collector

Components that do not use exporterhelper.WithRetry do not get any logging of export errors.

Closed this issue · 0 comments

Describe the bug

After open-telemetry/opentelemetry-collector-contrib#25900, all error logging for the google cloud exporters was removed.

Steps to reproduce
See reproduction steps in GoogleCloudPlatform/opentelemetry-operations-go#760, for an example.

What did you expect to see?
I expected to see errors printed, similar to how they are printed when retry settings.Enabled = false:

if !rs.cfg.Enabled {
err := rs.nextSender.send(req)
if err != nil {
rs.logger.Error(
"Exporting failed. Try enabling retry_on_failure config option to retry on retryable errors",
zap.Error(err),
)
}

What did you see instead?

Failures without any error messages.

What version did you use?
Version: v0.88.0 (contrib)