mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 15:09:45 -08:00
Merge pull request #1872 from metalmatze/mixin-jsonnet-absolute-import-paths
Use absolute jsonnet import paths
This commit is contained in:
commit
dbf8c709ad
|
@ -1,10 +1,10 @@
|
|||
local grafana = import 'grafonnet/grafana.libsonnet';
|
||||
local grafana = import 'github.com/grafana/grafonnet-lib/grafonnet/grafana.libsonnet';
|
||||
local dashboard = grafana.dashboard;
|
||||
local row = grafana.row;
|
||||
local prometheus = grafana.prometheus;
|
||||
local template = grafana.template;
|
||||
local graphPanel = grafana.graphPanel;
|
||||
local promgrafonnet = import 'promgrafonnet/promgrafonnet.libsonnet';
|
||||
local promgrafonnet = import 'github.com/kubernetes-monitoring/kubernetes-mixin/lib/promgrafonnet/promgrafonnet.libsonnet';
|
||||
local gauge = promgrafonnet.gauge;
|
||||
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local g = import 'grafana-builder/grafana.libsonnet';
|
||||
local g = import 'github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet';
|
||||
|
||||
{
|
||||
grafanaDashboards+:: {
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
"version": "master"
|
||||
}
|
||||
],
|
||||
"legacyImports": true
|
||||
"legacyImports": false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue