-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
PromQL: Support trailing commas in grouping opts #6480
Conversation
Documentation somewhere should also change with this. |
Fixes prometheus#6470 Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
ceae173
to
ebe625f
Compare
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
I've added documentation about trailing commas. |
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
all other labels are preserved the output. `by` does the opposite and drops | ||
labels that are not listed in the `by` clause, even if their label values are | ||
identical between all elements of the vector. | ||
|
||
`parameter` is only required for `count_values`, `quantile`, `topk` and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes it seem as though it's an option for the others. I'd say used rather than required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally find "required" more clear than "used" here.
Also this wording was not introduced by this PR.
Thanks! |
Fixes #6470
Signed-off-by: Tobias Guggenmos tguggenm@redhat.com