From 20d12ff1c7b79fb10361311d67127b3b83d35920 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Thu, 11 Jul 2019 15:30:57 +0200 Subject: [PATCH] Fix prometheus-mixin dashboards to use grafanaDashboards Signed-off-by: Matthias Loibl --- documentation/prometheus-mixin/dashboards.jsonnet | 2 +- documentation/prometheus-mixin/dashboards.libsonnet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/prometheus-mixin/dashboards.jsonnet b/documentation/prometheus-mixin/dashboards.jsonnet index fb102817c..9d913ed3f 100644 --- a/documentation/prometheus-mixin/dashboards.jsonnet +++ b/documentation/prometheus-mixin/dashboards.jsonnet @@ -1,4 +1,4 @@ -local dashboards = (import 'mixin.libsonnet').dashboards; +local dashboards = (import 'mixin.libsonnet').grafanaDashboards; { [name]: dashboards[name] diff --git a/documentation/prometheus-mixin/dashboards.libsonnet b/documentation/prometheus-mixin/dashboards.libsonnet index cc4dba2b8..9251a33ba 100644 --- a/documentation/prometheus-mixin/dashboards.libsonnet +++ b/documentation/prometheus-mixin/dashboards.libsonnet @@ -1,7 +1,7 @@ local g = import 'grafana-builder/grafana.libsonnet'; { - dashboards+: { + grafanaDashboards+:: { 'prometheus.json': g.dashboard('Prometheus') .addMultiTemplate('job', 'prometheus_build_info', 'job')