mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Fix prometheus-mixin dashboards to use grafanaDashboards
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
parent
28e56d974a
commit
20d12ff1c7
|
@ -1,4 +1,4 @@
|
|||
local dashboards = (import 'mixin.libsonnet').dashboards;
|
||||
local dashboards = (import 'mixin.libsonnet').grafanaDashboards;
|
||||
|
||||
{
|
||||
[name]: dashboards[name]
|
||||
|
|
|
@ -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…
Reference in a new issue