
With newer Grafana we're seeing that any dashboards using queries to graphite fail with CORS Missing Allowed Origin errors. Attempt to workaround this by having grafana proxy requests to graphite rather than have the browser make them directly. This will affect all graphite requests and not just the problematic query requests but this should be ok. Change-Id: If591ad9b3a34b1bf4d082f609e5c45c24ebd5dc9
Developing Graphs
The run-grafana.sh
script in this directory will start a
Docker container with Grafana listening on port 3000. It will then load
the datasources and dashboards in this directory. Repeated runs of the
script will re-load the scripts.
You can log into the instance with the username "admin" and password "password". You can then use the Grafana UI to develop graphs.
The "share" icon on the graph in the UI can be used to export a JSON file, which your browser will download. You can copy that to this directory (or update existing files) and submit a review.