Mutable Grafana with Performance Analysis Dashboards on OpenShift
For RHEL ensure that python-virtualenv
is pre-installed.
$ git clone https://github.com/openshift-scale/grafshift.git
$ cd grafshift
$ virtualenv .venv; . .venv/bin/activate; pip install -r requirements.txt
$ ./deploy.sh "$grafana_password"
Replace $grafana_password
with a desired grafana password.
If you edit the yaml in this repo and want to update the dashboards repeat below instructions.
$ cd grafshift
$ . .venv/bin/activate
$ grafana-dashboard --config-file .grafyaml_config update dashboards/
If you just want to upload dashboards without deploying Grafana, follow below instructions
$ git clone https://github.com/akrzos/grafshift.git
$ cd grafshift
$ virtualenv .venv; . .venv/bin/activate; pip install -r requirements.txt
$ # Configure your /etc/grafyaml/grafyaml.conf
$ grafana-dashboards update dashboards/