Browse Source

Merge pull request #5753 from metalmatze/grafanaDashboards

Fix prometheus-mixin dashboards to use grafanaDashboards
pull/5760/head
Frederic Branczyk 5 years ago committed by GitHub
parent
commit
fb6c709a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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]

2
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')

Loading…
Cancel
Save