Merge pull request #1872 from metalmatze/mixin-jsonnet-absolute-import-paths

Use absolute jsonnet import paths
This commit is contained in:
Frederic Branczyk 2020-10-21 11:39:41 +02:00 committed by GitHub
commit dbf8c709ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -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 dashboard = grafana.dashboard;
local row = grafana.row; local row = grafana.row;
local prometheus = grafana.prometheus; local prometheus = grafana.prometheus;
local template = grafana.template; local template = grafana.template;
local graphPanel = grafana.graphPanel; 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; local gauge = promgrafonnet.gauge;
{ {

View file

@ -1,4 +1,4 @@
local g = import 'grafana-builder/grafana.libsonnet'; local g = import 'github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet';
{ {
grafanaDashboards+:: { grafanaDashboards+:: {

View file

@ -29,5 +29,5 @@
"version": "master" "version": "master"
} }
], ],
"legacyImports": true "legacyImports": false
} }