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
Copy file name to clipboardExpand all lines: cmd/pint/tests/0194_checkstyle_lint.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ groups:
13
13
<?xml version="1.0" encoding="UTF-8"?>
14
14
<checkstyle version="4.3">
15
15
<file name="rules/0001.yml">
16
-
<error line="5" severity="Warning" message="always firing alert
Prometheus alerting rules will trigger an alert for each query that returns *any* result.
Unless you do want an alert to always fire you should write your query in a way that returns results only when some condition is met.
In most cases this can be achieved by having some condition in the query expression.
For example `up == 0` or `rate(error_total[2m]) > 0`.
Be careful as some PromQL operations will cause the query to always return the results, for example using the [bool modifier](https://prometheus.io/docs/prometheus/latest/querying/operators/#comparison-binary-operators)." source="alerts/comparison"></error>
<error line="5" severity="warning" message="always firing alert
Prometheus alerting rules will trigger an alert for each query that returns *any* result.
Unless you do want an alert to always fire you should write your query in a way that returns results only when some condition is met.
In most cases this can be achieved by having some condition in the query expression.
For example `up == 0` or `rate(error_total[2m]) > 0`.
Be careful as some PromQL operations will cause the query to always return the results, for example using the [bool modifier](https://prometheus.io/docs/prometheus/latest/querying/operators/#comparison-binary-operators)." source="alerts/comparison"></error>
Copy file name to clipboardExpand all lines: cmd/pint/tests/0196_checkstyle_ci.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ parser {
46
46
<?xml version="1.0" encoding="UTF-8"?>
47
47
<checkstyle version="4.3">
48
48
<file name="rules.yml">
49
-
<error line="2" severity="Warning" message="always firing alert
Prometheus alerting rules will trigger an alert for each query that returns *any* result.
Unless you do want an alert to always fire you should write your query in a way that returns results only when some condition is met.
In most cases this can be achieved by having some condition in the query expression.
For example `up == 0` or `rate(error_total[2m]) > 0`.
Be careful as some PromQL operations will cause the query to always return the results, for example using the [bool modifier](https://prometheus.io/docs/prometheus/latest/querying/operators/#comparison-binary-operators)." source="alerts/comparison"></error>
50
-
<error line="3" severity="Information" message="redundant field with default value" source="alerts/for"></error>
49
+
<error line="2" severity="warning" message="always firing alert
Prometheus alerting rules will trigger an alert for each query that returns *any* result.
Unless you do want an alert to always fire you should write your query in a way that returns results only when some condition is met.
In most cases this can be achieved by having some condition in the query expression.
For example `up == 0` or `rate(error_total[2m]) > 0`.
Be careful as some PromQL operations will cause the query to always return the results, for example using the [bool modifier](https://prometheus.io/docs/prometheus/latest/querying/operators/#comparison-binary-operators)." source="alerts/comparison"></error>
50
+
<error line="3" severity="info" message="redundant field with default value" source="alerts/for"></error>
<error line="5" severity="Bug" message="mock text
		with [new lines] and pipe| chars that are 'quoted'
		" source="mock"></error>
134
+
<error line="5" severity="error" message="mock text
		with [new lines] and pipe| chars that are 'quoted'
		" source="mock"></error>
0 commit comments