Skip to content

Commit f1760bd

Browse files
committed
preserve existing behavior for PromQL operations
Signed-off-by: David Ashpole <[email protected]>
1 parent d9e0ad3 commit f1760bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: proposals/2024-09-25_metadata-labels.md

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ Users see no difference to exposition formats.
6464

6565
When a query for a metric returns multiple metrics with a different `__type__` or `__unit__` label, but the same `__name__`, an info annotation will be returned with the PromQL response, which is otherwise unmodified.
6666

67+
Aggregations and label matches ignore `__unit__` and `__type__` and any operation would remove the `__unit__` and `__type__` label (with the exception of label_replace).
68+
6769
### Prometheus UI Changes
6870

6971
When displaying a metric's labels in the table or in the graph views, the UI will hide labels starting with `__` (double underscore) by default, similar to the current handling of `__name__`. A "Show System Labels" check-box will be added, which shows hidden labels when checked.

0 commit comments

Comments
 (0)