pulumi-docker/prometheus.yml

15 lines
401 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']