From 8acb6e3bf1591276b117d188b3c5182cd0958847 Mon Sep 17 00:00:00 2001 From: cypherpunk Date: Wed, 13 Jul 2016 14:35:35 +0200 Subject: [PATCH] updated prometheus config with node-exporter target --- prom/prometheus.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/prom/prometheus.yml b/prom/prometheus.yml index 3b587fe..f46071b 100644 --- a/prom/prometheus.yml +++ b/prom/prometheus.yml @@ -7,7 +7,7 @@ global: # Attach these labels to any time series or alerts when communicating with # external systems (federation, remote storage, Alertmanager). external_labels: - monitor: 'codelab-monitor' + monitor: 'my-project' # Load and evaluate rules in this file every 'evaluation_interval' seconds. rule_files: @@ -15,7 +15,6 @@ rule_files: # - "second.rules" # A scrape configuration containing exactly one endpoint to scrape: -# Here it's Prometheus itself. scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. - job_name: 'prometheus' @@ -28,4 +27,4 @@ scrape_configs: # scheme defaults to 'http'. target_groups: - - targets: ['localhost:9090','cadvisor:8080'] + - targets: ['localhost:9090','cadvisor:8080','node-exporter:9100']