docker-grafana-graphite icon indicating copy to clipboard operation
docker-grafana-graphite copied to clipboard

The export-datasources-and-dashboards process keeps crashing

Open circuitry2 opened this issue 6 years ago • 3 comments

After running "make up" and connecting to http://localhost:80 I cannot see any data in my charts.

It looks like the export-datasources-and-dashboards process keeps crashing. Any ideas on what to do here? Thanks!

2017-12-29 05:15:32,874 INFO exited: export-datasources-and-dashboards (exit status 1; not expected)

circuitry2 avatar Dec 29 '17 05:12 circuitry2

I modified export-datasources-and-dashboards.sh to ignore if one or more exports failed since it just happens after everything has been exported the first time. It fails because one or more dashboards already exists.

#!/bin/bash
# sleeping for 10 seconds to let grafana get up and running
sleep 10 ; wizzy export datasources ; wizzy export dashboards
exit 0

jryberg avatar Apr 20 '18 08:04 jryberg

I delete the pre-built dashboards on grafana, and the job export-datasources-and-dashboards does exit with 0. It seems like the entry script tries to add the dashboard over and over again.

Stonesjtu avatar Jan 16 '19 08:01 Stonesjtu

I don't suppose there's a flag we can pass to stop it from generating the default boards in the first place?

jdmarshall avatar Feb 03 '22 03:02 jdmarshall