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 an issue with prettify query #169

Merged
merged 4 commits into from
Jun 24, 2024
Merged

fix an issue with prettify query #169

merged 4 commits into from
Jun 24, 2024

Conversation

dmitryk-dk
Copy link
Contributor

Fixed issue with prettify query if if the query includes Grafana variables in the lookbehind window.

See this issue: #166

Copy link
Contributor

@Loori-R Loori-R left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@hagen1778 hagen1778 left a comment

Choose a reason for hiding this comment

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

Thanks!

@hagen1778
Copy link
Contributor

@dmitryk-dk @Loori-R before merging this, do you think we should have a common approach for such issues like this and #167?

Or #167 should be solved differently?

@dmitryk-dk
Copy link
Contributor Author

dmitryk-dk commented Jun 21, 2024

@dmitryk-dk @Loori-R before merging this, do you think we should have a common approach for such issues like this and #167?

Or #167 should be solved differently?

I think we can merge both of the PRs, but in the follow-up commit, we can check if we can use only one function to handle different variables in one function like this.enhanceExprWithAdHocFilters(expr) in the PR you mentioned.

@hagen1778 hagen1778 merged commit 694e775 into main Jun 24, 2024
4 checks passed
@hagen1778 hagen1778 deleted the issue-166 branch June 24, 2024 08:38
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