kamon-io / docker-grafana-graphite

Docker image with StatsD, Graphite, Grafana 2 and a Kamon Dashboard
Apache License 2.0
1.14k stars 495 forks source link

The export-datasources-and-dashboards process keeps crashing #116

Open circuitry2 opened 6 years ago

circuitry2 commented 6 years ago

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)

jryberg commented 6 years ago

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
Stonesjtu commented 5 years ago

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.

jdmarshall commented 2 years ago

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