Skip to content

Commit

Permalink
Merge pull request #139 from regiocom/absolute-import-paths
Browse files Browse the repository at this point in the history
Update grafonnet import paths to absolute import paths
  • Loading branch information
consideRatio authored Sep 25, 2024
2 parents f1f9419 + e62bf1d commit 1f5fa1c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dashboards/activity.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env -S jsonnet -J ../vendor
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local dashboard = grafonnet.dashboard;
local ts = grafonnet.panel.timeSeries;
local prometheus = grafonnet.query.prometheus;
Expand Down
2 changes: 1 addition & 1 deletion dashboards/cluster.jsonnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S jsonnet -J ../vendor
// Deploys a dashboard showing cluster-wide information
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local dashboard = grafonnet.dashboard;
local ts = grafonnet.panel.timeSeries;
local barChart = grafonnet.panel.barChart;
Expand Down
2 changes: 1 addition & 1 deletion dashboards/common.libsonnet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local ts = grafonnet.panel.timeSeries;
local barChart = grafonnet.panel.barChart;
local barGauge = grafonnet.panel.barGauge;
Expand Down
2 changes: 1 addition & 1 deletion dashboards/homedirs.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env -S jsonnet -J ../vendor
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local dashboard = grafonnet.dashboard;
local prometheus = grafonnet.query.prometheus;
local table = grafonnet.panel.table;
Expand Down
2 changes: 1 addition & 1 deletion dashboards/jupyterhub.jsonnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S jsonnet -J ../vendor
// Deploys one dashboard - "JupyterHub dashboard",
// with useful stats about usage & diagnostics.
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local dashboard = grafonnet.dashboard;
local ts = grafonnet.panel.timeSeries;
local prometheus = grafonnet.query.prometheus;
Expand Down
2 changes: 1 addition & 1 deletion dashboards/jupyterhub.libsonnet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local ts = grafonnet.panel.timeSeries;
local prometheus = grafonnet.query.prometheus;

Expand Down
2 changes: 1 addition & 1 deletion dashboards/support.jsonnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S jsonnet -J ../vendor
// Deploys a dashboard showing information about support resources
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local dashboard = grafonnet.dashboard;
local ts = grafonnet.panel.timeSeries;
local prometheus = grafonnet.query.prometheus;
Expand Down
2 changes: 1 addition & 1 deletion dashboards/usage-report.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env -S jsonnet -J ../vendor
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local dashboard = grafonnet.dashboard;
local barGauge = grafonnet.panel.barGauge;
local prometheus = grafonnet.query.prometheus;
Expand Down
2 changes: 1 addition & 1 deletion dashboards/user.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env -S jsonnet -J ../vendor
local grafonnet = import 'grafonnet/main.libsonnet';
local grafonnet = import 'github.com/grafana/grafonnet/gen/grafonnet-v10.4.0/main.libsonnet';
local dashboard = grafonnet.dashboard;
local ts = grafonnet.panel.timeSeries;
local prometheus = grafonnet.query.prometheus;
Expand Down

0 comments on commit 1f5fa1c

Please sign in to comment.