This Bash script exposes a few functions to create a Grafana data source, like graphite.
Also allows to upload some dashboards.
$ ./grafana-graphite-wiring.sh
Will setup graphite in localhost
$ ./grafana-upload-dashboard.sh dashboard.json [...]
Will upload the given dashboard to graphana.
./grafana-upload-dashboard.sh <(curl -qs https://gist.githubusercontent.com/keymon/80c8992c803f2192dab3/raw/1ce4c8a06d6f919d656c598218148b2ab0bd3589/cf_services_metrics.json) <(curl -qs https://gist.githubusercontent.com/keymon/80c8992c803f2192dab3/raw/1ce4c8a06d6f919d656c598218148b2ab0bd3589/cf_specific_job_metrics.json)
based on grafana+influx setup code from leehambley/README.md