mostly fixes
[distro-setup] / filesystem / etc / prometheus / prometheus.yml
index 97ac447f19f42ebf5e84f48bf53fd78c6af267e2..fb1e53757ffa7894871b00feaf793a9cbdfc2102 100644 (file)
@@ -1,6 +1,14 @@
 # Sample config for Prometheus.
 
 global:
+
+
+  ## temporary for quickly testing during development. default is 60s
+  ## for both.
+  # scrape_interval: 5s
+  # evaluation_interval: 5s
+
+
   # Attach these labels to any time series or alerts when communicating with
   # external systems (federation, remote storage, Alertmanager).
   external_labels:
@@ -33,6 +41,10 @@ scrape_configs:
     static_configs:
       - targets: ['localhost:9093']
 
+  - job_name: simple_node
+    file_sd_configs:
+      - files:
+        - /etc/prometheus/file_sd/simple_node.yml
   - job_name: node
     basic_auth:
       username: prom