Prometheus No data


Hello, I have tried to get my virtual machine server’s status by prometheus and node-exporter, then visualize it by grafana, but after I import the dashboard provide from grafana website it shows no data, but it works while I create a dashboard by my self. the upon picture are my import dashboard setting,my grafana version is v6.4.0-beta2, node exporter version is 0.16 and prometheus is 2.0 . Thank you for any and all help!

Prometheus web interface return data? Do you have $node template variable declared in Grafana?

Your right, after I replace $node to localhost:9100 it works, Do I have to set the $node template variable by myself? I had search many tutorial about prometheus and grafana connection, but all of them doesn’t have this step

Thanks,You are right, after I replace $node to localhost:9100 it works, Do I have to set the $node template variable by myself? I had search many tutorial about prometheus and grafana connection, but all of them doesn’t have this step

Yes, you have to create your template variable in Grafana :wink: