projetPulumi/prometheus.yml
2024-12-07 13:02:27 +01:00

23 lines
516 B
YAML

global:
scrape_interval: 15s # How often to scrape metrics (every 15 seconds)
scrape_configs:
- job_name: 'postgres' # For scraping PostgreSQL
static_configs:
- targets: ['postgres:5432']
- job_name: 'odoo' # For scraping Odoo
static_configs:
- targets: ['odoo:8069']
- job_name: 'grafana' # For scraping Grafana
static_configs:
- targets: ['grafana:3000']
- job_name: 'postgres_exporter'
static_configs:
- targets: ['postgres_exporter:9187']