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.
This commit is contained in:
Yury Kossakovsky
2025-05-05 13:55:11 -06:00
parent 6cbe11364c
commit c015a6077f

19
prometheus/prometheus.yml Normal file
View File

@@ -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"]