grafana/devenv/jsonnet/tmpl/gen.libsonnet.tmpl

20 lines
573 B
Cheetah

// This file is autogenerated. DO NOT EDIT.
// Generated by gen.go
// Run `make gen-jsonnet` from repository root to regenerate.
local grafana = import "grizzly/grafana.libsonnet";
local resource = import "grizzly/resource.libsonnet";
local dashboard = grafana.dashboard;
{
folders: [grafana.folder.new('dev-dashboards', 'dev-dashboards')],
dashboards: [{{range .Dashboards}}
dashboard.new('{{.Name}}', import '../dev-dashboards/{{.Path}}') +
resource.addMetadata('folder', 'dev-dashboards') +
{
spec+: {
id: 0,
}
},{{end}}
],
}