An agent to be deployed on every host we want to monitor. The default deployment mode of Grafana Agent is a drop-in replacement for Prometheus remote_write
. Grafana Agent acts similarly to a single-process Prometheus
, doing service discovery, scraping, and remote writing.
-
promtail (embedded)
- scrape systemd logs
- scrape /var/log
-
cadvisor (embedded)
- gathers container metrics
-
node_exporter (embedded)
- gathers host (node) metrics
- Grafana Agent - overview
- Grafana Agent - cadvisor configuration
- Grafana Agent - node_exporter configuration
- Practical (slightly outdated) Example with Docker Swarm
- Introduction of Prometheus "Agent" mode
- Why Prometheus "Agent" was created from Grafana Agent
- My reddit post, "Prometheus Agent mode vs. Grafana Agent"