Wire Up Your First Scrape Target

Prometheus and node_exporter are both running, but Prometheus was never told to scrape it.

A beginner Prometheus & Grafana challenge worth 3 points. Solve it hands-on in a real Prometheus & Grafana environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: node_exporter is already running and exposing real host metrics on :9100, and Prometheus is already running too - but they've never been introduced. Prometheus's scrape_configs has no job pointing at it.

Your tasks:

  1. Open prometheus.yml and inspect the existing scrape_configs.
  2. Add a new scrape job targeting localhost:9100.
  3. Reload or restart Prometheus and confirm the new target shows as up under /api/v1/targets.

Commands to learn: editing scrape_configs, curl localhost:9090/api/v1/targets.

Run check when done.