Skip to content

Support /api/v1/parse_query API (Experimental) #6671

Open
@friedrichg

Description

@friedrichg

Is your feature request related to a problem? Please describe.
Dashboard tools, in this specific case perses, might relay on this prometheus API part to parse the query.

Describe the solution you'd like
Query frontend should handle this part

Describe alternatives you've considered
None

Additional context
Yes, it's experimental, but we should implement it per https://www.hyrumslaw.com/ ;)
https://prometheus.io/docs/prometheus/latest/querying/api/#parsing-a-promql-expressions-into-a-abstract-syntax-tree-ast

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions