This is issue is resolved in Healthwatch 2.2.x. This version introduces Grafana 8.x (see see
HealthWatch release notes ) that changes the default HTTP method for Prometheus data source from GET to POST (see
Grafana release notes breaking changes).
If you can't upgrade at the moment, as a workaround you can change the grafana config file ( can't be done in the dashboard), following these steps.
- bosh ssh into the grafana VM, in the healthwatch deployment.
- run "sudo -i" to become root
- locate /var/vcap/data/jobs/grafana/<combination-of-numbers-and-letters>/config/provisioning/datasources/prometheus.yml and make a backup
- edit prometheus.yml in the above location, locate the line with "httpMethod: GET" and change it to "httpMethod: POST"
- save the file and exit the editor
- run "monit restart grafana" to restart the service. The "HTTP Method" setting in the dashboard should have been changed from GET to POST