Browse Source
This allows to create YAML files with rules and JSON files with dashboard descriptions. Signed-off-by: beorn7 <beorn@grafana.com>pull/1429/head
beorn7
5 years ago
3 changed files with 8 additions and 0 deletions
@ -0,0 +1 @@ |
|||||||
|
std.manifestYamlDoc((import 'mixin.libsonnet').prometheusAlerts) |
@ -0,0 +1,6 @@ |
|||||||
|
local dashboards = (import 'mixin.libsonnet').grafanaDashboards; |
||||||
|
|
||||||
|
{ |
||||||
|
[name]: dashboards[name] |
||||||
|
for name in std.objectFields(dashboards) |
||||||
|
} |
Loading…
Reference in new issue