Grafana is not able to get Prometheus metrics although Prometheus Datasource is validated successfully
<p>I am trying to configure Grafana to visulaize metrics collected by Prometheus.
My Prometheus Datasource is validated successfully. But when I am trying to create dashboard then it's showing error saying <code>"can not read property 'result' of undefined"</code></p>

<p>I am adding screenshots.
<a href="https://i.stack.imgur.com/FbjRw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FbjRw.png" alt="Following image shows datasouces validated successfully"></a></p>

<p><a href="https://i.stack.imgur.com/J4nmQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/J4nmQ.png" alt="Second image shows waht error I am getting"></a></p>