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

fix(logs): fix text format for otlp source #3212

Merged
merged 1 commit into from Aug 21, 2023

Conversation

swiatekm-sumo
Copy link
Contributor

For OTLP sources, the text format is implemented by removing all record attributes. However, we were adding the timestamp attribute afterwards, causing the logs to be rendered as json. Fix this by moving the timestamp processor before the attribute removal.

Checklist

  • Changelog updated or skip changelog label added
  • Template tests added for new features

For OTLP sources, the text format is implemented by removing all
record attributes. However, we were adding the timestamp attribute
afterwards, causing the logs to be rendered as json. Fix this by moving
the timestamp processor before the attribute removal.
@swiatekm-sumo swiatekm-sumo requested a review from a team as a code owner August 16, 2023 10:08
@swiatekm-sumo swiatekm-sumo merged commit 5701acc into main Aug 21, 2023
40 checks passed
@swiatekm-sumo swiatekm-sumo deleted the fix/logs/text-format-otlp-source branch August 21, 2023 09:48
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.

None yet

2 participants