Skip to content

Commit

Permalink
Fix grafana dashboard loading (#793)
Browse files Browse the repository at this point in the history
It tried to load the dashboard from the pre-gordo-user location, and failed.
  • Loading branch information
Erik Parmann authored and milesgranger committed Dec 13, 2019
1 parent 7c2d026 commit 3850be7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ spec:
&& curl -XPOST -H 'Content-Type: application/json' -d '{"name":"InfluxDB", "type":"influxdb", "url":"http://gordo-influx-{{project_name}}:8086", "access":"proxy", "database": "feeder", "isDefault":true, "password": "", "user": "", "basicAuth": false}' http://gordo-grafana-{{project_name}}:3000/api/datasources \
&& curl -XPOST -H 'Content-Type: application/json' -d '{"name": "Postgres-metadata","type": "postgres","url": "gordo-postgres-{{project_name}}","access": "proxy","database": "postgres","isDefault": false,"user": "postgres","jsonData": {"sslmode": "disable","postgresVersion": 1000,"timescaledb": false}}' http://gordo-grafana-{{project_name}}:3000/api/datasources \
&& echo "Uploading grafana dashboard for project {{project_name}}" \
&& curl -XPOST -d @/code/resources/grafana/dashboards/machines.json -H "Content-Type: application/json" http://gordo-grafana-{{project_name}}:3000/api/dashboards/db
&& curl -XPOST -d @/home/gordo/resources/grafana/dashboards/machines.json -H "Content-Type: application/json" http://gordo-grafana-{{project_name}}:3000/api/dashboards/db
resources:
requests:
memory: 50M
Expand Down

0 comments on commit 3850be7

Please sign in to comment.