]> git.rmz.io Git - dotfiles.git/blobdiff - podman/monitoring/prometheus.yml
podman: update monitoring compose
[dotfiles.git] / podman / monitoring / prometheus.yml
diff --git a/podman/monitoring/prometheus.yml b/podman/monitoring/prometheus.yml
new file mode 100644 (file)
index 0000000..b98faf3
--- /dev/null
@@ -0,0 +1,35 @@
+global:
+  scrape_interval: 15s
+  scrape_timeout: 10s
+  evaluation_interval: 15s
+alerting:
+  alertmanagers:
+  - static_configs:
+    - targets: []
+    scheme: http
+    timeout: 10s
+    api_version: v1
+scrape_configs:
+- job_name: prometheus
+  honor_timestamps: true
+  scrape_interval: 15s
+  scrape_timeout: 10s
+  metrics_path: /metrics
+  scheme: http
+  static_configs:
+  - targets:
+    - localhost:3001
+- job_name: node
+  static_configs:
+    - targets: ['10.0.109.1:9100']
+      labels:
+        hostname: rmz.io
+    - targets: ['10.0.109.10:9100']
+      labels:
+        hostname: deepthought
+    - targets: ['10.0.109.20:9100']
+      labels:
+        hostname: hactar
+    - targets: ['10.0.109.30:9100']
+      labels:
+        hostname: libreelec