Browse Source

Fix prometheus-mixin dashboards to use grafanaDashboards

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
pull/5753/head
Matthias Loibl 5 years ago
parent
commit
20d12ff1c7
No known key found for this signature in database
GPG Key ID: 78A796CA74CA38BA
  1. 2
      documentation/prometheus-mixin/dashboards.jsonnet
  2. 2
      documentation/prometheus-mixin/dashboards.libsonnet

2
documentation/prometheus-mixin/dashboards.jsonnet

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

2
documentation/prometheus-mixin/dashboards.libsonnet

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

Loading…
Cancel
Save