We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01a9552 commit 82a6312Copy full SHA for 82a6312
mixin-utils/utils.libsonnet
@@ -123,17 +123,17 @@ local g = import 'grafana-builder/grafana.libsonnet';
123
// - groups: the list of rule groups containing alerts.
124
// - url_format: an URL format for the runbook, the alert name will be substituted in the URL.
125
withRunbookURL(groups, url_format)::
126
- [
127
- group {
128
- rules: [
129
- alert {
130
- annotations+: {
131
- runbook_url: url_format % alert.alert,
132
- },
133
- }
134
- for alert in group.rules
135
- ],
136
137
- for group in groups
138
+ [
+ group {
+ rules: [
+ alert {
+ annotations+: {
+ runbook_url: url_format % alert.alert,
+ },
+ }
+ for alert in group.rules
+ ],
+ for group in groups
139
}
0 commit comments