Hi to everyone, I’m new on grafana.
This my question: I need to collect data from several server with prometheus (by node_exporter).
This my simple config file with one server:
scrape_configs:
- job_name: 'prometheus’
static_configs:- targets: [‘192.168.97.9:9100’]
Prometheus collect data correctly. In Grafana, after configure a datasource (according to guide line) I’ve imported the dashboard 1860 but each graphs show “N/A”. If I take a query of a graph (e.g. count(node_cpu{instance=~"$node:$port"}) ), run with error in prometheus console with {instance=~"$node:$port"}. Otherwise, without {instance=~"$node:$port"} run ok (e.g. count(node_cpu)).
Why? What’s wrong?
Thanks