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

Grammar: Add drop and keep operations #50

Merged
merged 3 commits into from
Aug 21, 2023
Merged

Grammar: Add drop and keep operations #50

merged 3 commits into from
Aug 21, 2023

Conversation

ivanahuckova
Copy link
Member

Part of grafana/grafana#70187

While working on drop I noticed that in LogQL grammar another similar operations was added - keep so I implemented both.

It follows the same grammar patterns as https://github.com/grafana/loki/blob/main/pkg/logql/syntax/expr.y.

Copy link
Contributor

@matyax matyax left a comment

Choose a reason for hiding this comment

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

👌 👌

@ivanahuckova ivanahuckova merged commit 50321a0 into main Aug 21, 2023
2 checks passed
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