Create jsonnet files to create output files
This allows to create YAML files with rules and JSON files with dashboard descriptions. Signed-off-by: beorn7 <beorn@grafana.com>pull/1429/head
parent
cd2981f1b8
commit
f17829c48b
|
@ -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)
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
std.manifestYamlDoc((import 'mixin.libsonnet').prometheusRules)
|
Loading…
Reference in New Issue