rfmoz / grafana-dashboards

Grafana dashboards
Apache License 2.0
1.17k stars 445 forks source link

Nothing loads on fresh install #55

Closed johnpena closed 2 years ago

johnpena commented 4 years ago

On a fresh install, no metrics load and none of the dropdowns work.

I'm using the following versions:

node_exporter, version 0.18.1 (branch: , revision: )
prometheus, version 2.18.1 (branch: non-git, revision: non-git)
Grafana version 7.0.0

My prometheus.yml is very simple:

global:
  scrape_interval: 15s

scrape_configs:
  - job_name: "prometheus"
    static_configs:
    - targets: ["localhost:9090"]
  - job_name: "node"
    static_configs:
      - targets: ["localhost:9100"]

I've confirmed there are no issues between Prometheus/Grafana/node_exporter that are readily apparent - I'm able to create charts in Grafana that are in Prometheus and from node_exporter.

Attaching a screenshot of what I see.

Screen Shot 2020-05-22 at 10 29 48 AM

rpelletierrefocus commented 4 years ago

Same thing here @johnpena. Were you able to figure anything out? I can also confirm my prometheus datasource works for other dashboards.

nizarelouaer commented 4 years ago

I had the same problem, I upgraded my node_exporter to the 1.0.0 version and now my dashboard is working. The problem is that the previous version of node_exporter was exporting metrics with different names, for example "cpu_seconds_total" instead" of "node_cpu_seconds_total". Please check in your metrics if you have something like "node_cpu_seconds_total", this means that your metrics are being exported correctly.