Browse Source

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

Use absolute jsonnet import paths
pull/7437/head
Frederic Branczyk 4 years ago committed by GitHub
parent
commit
3b08b2dabe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      documentation/prometheus-mixin/dashboards.libsonnet
  2. 2
      documentation/prometheus-mixin/jsonnetfile.json

4
documentation/prometheus-mixin/dashboards.libsonnet

@ -1,5 +1,5 @@
local g = import 'grafana-builder/grafana.libsonnet';
local grafana = import 'grafonnet/grafana.libsonnet';
local grafana = import 'github.com/grafana/grafonnet-lib/grafonnet/grafana.libsonnet';
local g = import 'github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet';
local dashboard = grafana.dashboard;
local row = grafana.row;
local singlestat = grafana.singlestat;

2
documentation/prometheus-mixin/jsonnetfile.json

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

Loading…
Cancel
Save