From c015a6077f526962a6fcb593ca589ed878bae4b9 Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Mon, 5 May 2025 13:55:11 -0600 Subject: [PATCH] Add Prometheus configuration for monitoring services - Created a new prometheus.yml file. - Configured scrape settings for n8n, n8n-worker, node-exporter, and cadvisor with appropriate targets. --- prometheus/prometheus.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 prometheus/prometheus.yml diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml new file mode 100644 index 0000000..72f791f --- /dev/null +++ b/prometheus/prometheus.yml @@ -0,0 +1,19 @@ +global: + scrape_interval: 15s + +scrape_configs: + - job_name: "n8n" + static_configs: + - targets: ["n8n:5678"] + + - job_name: "n8n-worker" + static_configs: + - targets: ["n8n-worker:5679"] + + - job_name: "node-exporter" + static_configs: + - targets: ["node-exporter:9100"] + + - job_name: "cadvisor" + static_configs: + - targets: ["cadvisor:8080"]