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

Introduce a unpack parser. #3420

Merged
merged 3 commits into from
Mar 3, 2021
Merged

Introduce a unpack parser. #3420

merged 3 commits into from
Mar 3, 2021

Conversation

cyriltovena
Copy link
Contributor

To go with the new pack stage in promtail #3401 this PR introduces a unpack parser
that will automatically unpack all labels packed into the log line and set back the original log line.

Signed-off-by: Cyril Tovena cyril.tovena@gmail.com

Special notes for your reviewer:

Performance can definitively improved but this is already a good starting point.

Checklist

  • Documentation added
  • Tests updated

To go with the new pack stage in promtail grafana#3401 this PR introduces a unpack parser
that will automatically unpack all labels packed into the log line and set back the original log line.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
cyriltovena and others added 2 commits March 3, 2021 11:42
Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants