From 06130b9241b343041c140c1eaf8d638774f0b508 Mon Sep 17 00:00:00 2001 From: Gitea Date: Sat, 4 Apr 2026 01:13:40 +0000 Subject: [PATCH] hxki-sync @ 2026-04-04T01:13:35Z --- inventory/com1/config/prometheus.yml | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 inventory/com1/config/prometheus.yml diff --git a/inventory/com1/config/prometheus.yml b/inventory/com1/config/prometheus.yml new file mode 100644 index 0000000..17761f9 --- /dev/null +++ b/inventory/com1/config/prometheus.yml @@ -0,0 +1,48 @@ +global: + scrape_interval: 15s + evaluation_interval: 15s + +rule_files: + - /etc/prometheus/rules/*.yml + +scrape_configs: + - job_name: "node" + static_configs: + - targets: ["10.10.0.1:9100"] + labels: + node: "COM1" + - targets: ["10.10.0.2:9100"] + labels: + node: "Tresor" + - targets: ["10.10.0.3:9100"] + labels: + node: "Motor" + - targets: ["10.10.0.4:9100"] + labels: + node: "COM2" + - targets: ["10.10.0.5:9100"] + labels: + node: "Brain" + + - job_name: "cadvisor" + static_configs: + - targets: ["10.10.0.1:8080"] + labels: + node: "COM1" + - targets: ["10.10.0.2:8081"] + labels: + node: "Tresor" + - targets: ["10.10.0.3:8080"] + labels: + node: "Motor" + - targets: ["10.10.0.4:8082"] + labels: + node: "COM2" + - targets: ["10.10.0.5:8080"] + labels: + node: "Brain" + + - job_name: "pushgateway" + honor_labels: true + static_configs: + - targets: ["hxki-pushgateway:9091"]