Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grafana is not able to get Prometheus metrics although Prometheus Datasource is validated successfully

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 "can not read property 'result' of undefined"

I am adding screenshots. Following image shows datasouces validated successfully

Second image shows waht error I am getting

like image 779
Prakash Avatar asked Aug 28 '16 15:08

Prakash


1 Answers

It looks like you are pointing towards the node exporter endpoint and not Prometheus Server. The default Prometheus Server endpoint is 9090. Try change your source to http://192.168.33.22:9090

Grafana doesn't query Node Exporter directly, it queries Prometheus Server which gathers the time series statistics.

like image 63
mactire Avatar answered Oct 09 '22 05:10

mactire