Fix prometheus-mixin dashboards to use grafanaDashboards

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
Matthias Loibl 2019-07-11 15:30:57 +02:00
parent 28e56d974a
commit 20d12ff1c7
No known key found for this signature in database
GPG Key ID: 78A796CA74CA38BA
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
local dashboards = (import 'mixin.libsonnet').dashboards;
local dashboards = (import 'mixin.libsonnet').grafanaDashboards;
{
[name]: dashboards[name]

View File

@ -1,7 +1,7 @@
local g = import 'grafana-builder/grafana.libsonnet';
{
dashboards+: {
grafanaDashboards+:: {
'prometheus.json':
g.dashboard('Prometheus')
.addMultiTemplate('job', 'prometheus_build_info', 'job')