Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove OpenTelemetry collector's debug exporter #883

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

agarciamontoro
Copy link
Member

Summary

The debug exporter logs whatever payload the collector sends to Loki to the syslog, so it's easier to... well, debug the collector itself :) This was really useful when setting the whole logging system up, but it's no longer needed, and if there's any unrelated error (like an agent being down), /var/log/syslog can quickly end up consuming the whole disk (which is what motivated this change). The logs will still be sent to Loki if there's such an error, so it's not like we're removing useful info for debugging potential issues.

Ticket Link

--

This was useful for debugging the collector when setting it up, but it's
no longer needed, and if there's any unrelated error (like an agent
being down), /var/log/syslog can quickly end up consuming the whole
disk. The error logs will still be sent to Loki, so it's not like we're
removing useful info for debugging potential errors.
Copy link
Member

@cpoile cpoile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@agarciamontoro agarciamontoro merged commit 9d7d51a into master Jan 28, 2025
1 check passed
@agarciamontoro agarciamontoro deleted the delete.otelcol.debug branch January 28, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants