You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
^^^^^^^^ Query is using aggregation with `without(colo_id, instance, node_type, region, node_status, job, colo_name)`, all labels included inside `without(...)` will be removed from the results.
14
-
`job` label is required and should be preserved when aggregating all rules.
13
+
^^^ Query is using aggregation with `without(colo_id, instance, node_type, region, node_status, job, colo_name)`, all labels included inside `without(...)` will be removed from the results.
14
+
`job` label is required and should be preserved when aggregating all rules.
15
15
16
16
Warning: label must be removed in aggregations (promql/aggregate)
Copy file name to clipboardExpand all lines: cmd/pint/tests/0009_alerting_rule_prometheus.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ Bug: required annotation not set (alerts/annotation)
14
14
Warning: required label is being removed via aggregation (promql/aggregate)
15
15
---> rules/0001.yml:17 -> `APIHighRequestLatency`
16
16
17 | expr: sum by (instance) (http_inprogress_requests) > 0
17
-
^^^ Query is using aggregation with `by(instance)`, only labels included inside `by(...)` will be present on the results.
18
-
`job` label is required and should be preserved when aggregating all rules.
17
+
^^^^^^^^^^^^^ Query is using aggregation with `by(instance)`, only labels included inside `by(...)` will be present on the results.
18
+
`job` label is required and should be preserved when aggregating all rules.
19
19
20
20
level=INFO msg="Some problems are duplicated between rules and all the duplicates were hidden, pass `--show-duplicates` to see them" total=3 duplicates=1 shown=2
[93m ^^^^^^^^[0m [93mQuery is using aggregation with `without(colo_id, instance, node_type, region, node_status, job, colo_name)`, all labels included inside `without(...)` will be removed from the results.[0m
14
-
[93m [0m [93m`job` label is required and should be preserved when aggregating all rules.[0m
13
+
[93m ^^^[0m [93mQuery is using aggregation with `without(colo_id, instance, node_type, region, node_status, job, colo_name)`, all labels included inside `without(...)` will be removed from the results.[0m
14
+
[93m [0m [93m`job` label is required and should be preserved when aggregating all rules.[0m
15
15
[0m
16
16
[93mWarning: [0m[1mlabel must be removed in aggregations[0m[95m (promql/aggregate)
[93m ^^^^^^^[0m [93mQuery is using aggregation with `without(job, instance)`, all labels included inside `without(...)` will be removed from the results.[0m
38
-
[93m [0m [93m`job` label is required and should be preserved when aggregating all rules.[0m
37
+
[93m ^^^[0m [93mQuery is using aggregation with `without(job, instance)`, all labels included inside `without(...)` will be removed from the results.[0m
38
+
[93m [0m [93m`job` label is required and should be preserved when aggregating all rules.[0m
39
39
[0m
40
40
[93mWarning: [0m[1mrequired label is being removed via aggregation[0m[95m (promql/aggregate)
0 commit comments