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

Support /api/v1/format_query from Prometheus #1540

Closed
waynexia opened this issue May 8, 2023 · 0 comments · Fixed by #2731
Closed

Support /api/v1/format_query from Prometheus #1540

waynexia opened this issue May 8, 2023 · 0 comments · Fixed by #2731
Labels
C-feature Category Features good first issue Good for newcomers help wanted Extra attention is needed

Comments

@waynexia
Copy link
Member

waynexia commented May 8, 2023

What problem does the new feature solve?

The interface /api/v1/format_query from Prometheus server can format a PromQL expression in a prettified way. This also request to implement some util trait in promql-parser. Issue: GreptimeTeam/promql-parser#55.

Related to #1016

What does the feature do?

Implement /api/v1/format_query to format the given PromQL query

Implementation challenges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category Features good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant