Skip to content

Catch up to all latest PromQL features, enable experimental functions#148

Open
juliusv wants to merge 1 commit intomainfrom
update-promql
Open

Catch up to all latest PromQL features, enable experimental functions#148
juliusv wants to merge 1 commit intomainfrom
update-promql

Conversation

@juliusv
Copy link
Member

@juliusv juliusv commented Aug 31, 2024

This updates UI and backend dependencies such that PromLens supports the latest PromQL features, such as:

  • limitk() / limit_ratio() operators
  • all current experimental functions, such as mad_over_time() and native histogram ones
  • updated function documentation

This updates UI and backend dependencies such that PromLens supports the latest
PromQL features, such as:

* limitk() / limit_ratio() operators
* all current experimental functions, such as mad_over_time() and native histogram ones
* updated function documentation

Signed-off-by: Julius Volz <julius.volz@gmail.com>
@juliusv juliusv requested a review from Nexucis August 31, 2024 17:15
@SuperQ
Copy link
Member

SuperQ commented Nov 10, 2024

Hey @juliusv, we fixed up the build and a bunch of the dependencies. You should be able to rebase this now.

@SuperQ
Copy link
Member

SuperQ commented May 19, 2025

Ping, can you rebase this PR?

@juliusv
Copy link
Member Author

juliusv commented May 19, 2025

I'll take a look - it's been a while and I think there is going to be a bunch more PromQL stuff that would need to be updated by now (especially the UTF-8 stuff), and I'm not sure how much effort that will be.

@juliusv
Copy link
Member Author

juliusv commented May 19, 2025

Notes to myself (or maybe someone else) for when I have time to implement this, things that are new in PromQL that also need to be added:

  • There's arithmetic between durations now, e.g. foo[5m * 2] or foo offset 1m * 5, so there needs to be UI support for potentially showing a whole expression child node for these cases, where previously the entire selector was always a single node only.
  • Metric names and labels can be full UTF-8 now, influencing how selectors / series identifiers need to be rendered and also influencing other functions like label_replace() etc.
  • holt_winters() got renamed to double_exponential_smoothing() (only available when enabling experimental PromQL functions)
  • There's an experimental info() function now
  • There's of course native histograms, but they are as a whole still experimental

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.

2 participants