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:
- Open
prometheus.ymland inspect the existingscrape_configs. - Add a new scrape job targeting
localhost:9100. - Reload or restart Prometheus and confirm the new target shows as
upunder/api/v1/targets.
Commands to learn: editing scrape_configs, curl localhost:9090/api/v1/targets.
Run check when done.