Describe the feature:
Blocked by #243932
When we will finish with the support of promql at the AST we will be able to move on with supporting it at the editor. The PROMQL is a source command.
- Highlighting should get updated
- Client side validation
- Autocomplete
We don't need to be very thorough as we are with the rest of ES|QL but we need to be sure that at least:
- don't complain for things we should not
- autocomplete to work decently (for example now if you use PROMQL it suggests FROM afterwards)
https://github.com/elastic/metrics-program/blob/main/docs/promql/esql-promql-syntax.md
This works like all source commands (meaning that the output can be the input for other processing commands
Milestone 0
Requires PR to our external package:
Milestone 1 - Basic Query Support
Milestone 1.1 - Selectors & Labels
Milestone 1.2 - Aggregations & Advanced
Other (not urgent)
Post milestones
Describe the feature:
Blocked by #243932
When we will finish with the support of promql at the AST we will be able to move on with supporting it at the editor. The PROMQL is a source command.
We don't need to be very thorough as we are with the rest of ES|QL but we need to be sure that at least:
https://github.com/elastic/metrics-program/blob/main/docs/promql/esql-promql-syntax.md
This works like all source commands (meaning that the output can be the input for other processing commands
Milestone 0
Requires PR to our external package:
Milestone 1 - Basic Query Support
rate,sum,avg....`)by,without) (e.g sum(rate...) by(label ))(query)vs afterbreackdown, metricsto the pipeMilestone 1.1 - Selectors & Labels
by(...)=,!=,=~,!~) after label name[](5m,1h,1d) (we use a free placeholder)Milestone 1.2 - Aggregations & Advanced
by,without) eg. like sum by(..) (...) ....) .on,ignoring,group_left,group_right) ---> (No supported yet by ES)[5m:1m]) ---> (Probably we don't need it)Other (not urgent)
Post milestones