Skip to content

Commit c9c8063

Browse files
committed
fix alerts
1 parent 6474a47 commit c9c8063

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

csp-mixin/main.libsonnet

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ local commonlib = import 'common-lib/common/main.libsonnet';
1414
rows: (import './rows.libsonnet').new(this),
1515
dashboards: (import './dashboards.libsonnet').new(this),
1616
},
17+
prometheus: {
18+
alerts: this.config.prometheus.alerts,
19+
recordingRules: {},
20+
},
1721
asMonitoringMixin(): {
1822
grafanaDashboards+:: this.grafana.dashboards,
19-
prometheusAlerts+:: this.config.prometheus.alerts,
23+
prometheusAlerts+:: this.prometheus.alerts,
2024
},
2125
},
2226

0 commit comments

Comments
 (0)