Skip to content

Commit

Permalink
fix(grafana): Fix blank dashboards from appearing in dropdown
Browse files Browse the repository at this point in the history
Move the dashboards from /usr/share/grafana/dashboards which is where we scan for other json dashboards to /usr/share/grafana/api/dashboards.
  • Loading branch information
Jonathan Chauncey committed Jul 18, 2016
1 parent f2bcfaa commit 8fd5ada
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafana/rootfs/usr/share/grafana/start-grafana
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ INFLUXDB_DATABASE=${INFLUXDB_DATABASE:-kubernetes}
INFLUXDB_USER=${INFLUXDB_USER:-admin}
INFLUXDB_PASSWORD=${INFLUXDB_PASSWORD:-admin}

DASHBOARD_LOCATION=${DASHBOARD_JSON_PATH:-"/usr/share/grafana/dashboards"}
DASHBOARD_LOCATION=${DASHBOARD_JSON_PATH:-"/usr/share/grafana/api/dashboards"}

echo "Building grafana.ini!"
./envtpl -in grafana.ini.tpl >> grafana.ini
Expand Down

0 comments on commit 8fd5ada

Please sign in to comment.