Skip to content

Report errors to log.Error channel in the spam exporter #32429

Closed
@LukaszByczynski

Description

@LukaszByczynski

Component(s)

exporter/sapm

Describe the issue you're reporting

Currently, the spam exporter reports errors only to the debug channel. From an operational perspective, this setting is incorrect because if I want to monitor errors, I have to enable all debug logs, which is not my intention.

For instance, zipkin exporter logging errors to the correct log channel:

return fmt.Errorf("failed to push trace data via Zipkin exporter: %w", err)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions