tasks:grafana_agent_setup_for_lab_nodes_monitoring
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tasks:grafana_agent_setup_for_lab_nodes_monitoring [2026/04/16 12:13] – akraitman | tasks:grafana_agent_setup_for_lab_nodes_monitoring [2026/05/03 14:31] (current) – akraitman | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| 1. **node_exporter** | 1. **node_exporter** | ||
| - Installed on every host (prometheus-node-exporter on Debian/ | - Installed on every host (prometheus-node-exporter on Debian/ | ||
| - | - Exposes standard host metrics (CPU, memory, disk, network, etc.) on http:// | + | - Exposes standard host metrics (CPU, memory, disk, network, etc.) on http:// |
| 2. **Grafana Agent** | 2. **Grafana Agent** | ||
| - Lightweight Prometheus-compatible agent | - Lightweight Prometheus-compatible agent | ||
| - | - Scrapes | + | - Scrapes node_exporter locally from localhost: |
| - Relabels the instance using the host’s FQDN | - Relabels the instance using the host’s FQDN | ||
| - Forwards all collected metrics to the central Mimir using the remote_write protocol | - Forwards all collected metrics to the central Mimir using the remote_write protocol | ||
| Line 49: | Line 49: | ||
| - Global scrape interval: 60s (configurable via scrape_interval_global) | - Global scrape interval: 60s (configurable via scrape_interval_global) | ||
| - | - Scrapes the node job from `localhost: | + | - Scrapes the node job from localhost: |
| - Applies relabeling: | - Applies relabeling: | ||
| - | - instance`: < | + | - instance: < |
| - | - nodename`: < | + | - nodename: < |
| - Forwards metrics to Mimir with basic auth credentials stored in the secrets repository(in mimir_password.yml): | - Forwards metrics to Mimir with basic auth credentials stored in the secrets repository(in mimir_password.yml): | ||
| - | - mimir_username | + | ** Mimir Endpoints |
| - | - mimir_password | + | |
| - | - Grafana repository URLs (grafana_apt_repo_key_url, | + | |
| - | - agent_mimir_url | + | |
| - | + | ||
| - | ** Mimir Endpoint | + | |
| https:// | https:// | ||
| + | | ||
| + | External | ||
| + | https:// | ||
tasks/grafana_agent_setup_for_lab_nodes_monitoring.1776341596.txt.gz · Last modified: by akraitman
