scrape job
A named group of scrape targets that do the same work, such as all instances of the checkout service.
In more detail
Every series scraped by a job gets a job label with the job name and an instance label with the target address. Jobs are listed under scrape_configs in the Prometheus configuration.
Example
The course stack has three jobs: prometheus, checkout and otel-collector.Related terms
- scrape target — One address Prometheus fetches metrics from, such as service:8000.
- instance label — The label Prometheus adds to every scraped series with the address of the target it came from.
- prometheus.yml — The YAML file that tells Prometheus what to scrape, how often, and which rule files to load.
Taught in
- Prometheus Scraping And The Pull Model — Full-Stack Observability: Metrics, Tracing & Logging
- Forty Seconds At Two: Push, Pull And Service Discovery — Prometheus Certified Associate (PCA) Exam Prep
- Observability Sprint: One Failed Checkout — Prometheus Certified Associate (PCA) Exam Prep
- Where Did Two Hours Go? Prometheus Architecture — Prometheus Certified Associate (PCA) Exam Prep
- A Week Without A Scrape: Configuration And Relabelling — Prometheus Certified Associate (PCA) Exam Prep
- Fundamentals Sprint: Nine Calls On The Server — Prometheus Certified Associate (PCA) Exam Prep
- A Database You Cannot Recompile: Exporters — Prometheus Certified Associate (PCA) Exam Prep
- One Week, Three Objectives: Final Review — Prometheus Certified Associate (PCA) Exam Prep