Your application has a short-lived batch job that finishes before the Prometheus server can scrape it. What architectural component should be used?
Trap 1: Prometheus API
The API is for querying, not metric ingestion from ephemeral jobs.
Trap 2: Alertmanager
Alertmanager handles alerts, not metric collection.
Trap 3: node_exporter
Node exporter is for long-running processes.
- A
Prometheus API
Why wrong: The API is for querying, not metric ingestion from ephemeral jobs.
- B
Pushgateway
Pushgateway provides an intermediary for short-lived jobs to push metrics.
- C
Alertmanager
Why wrong: Alertmanager handles alerts, not metric collection.
- D
node_exporter
Why wrong: Node exporter is for long-running processes.