20 lines
411 B
YAML

# Prometheus configuration file
global:
scrape_interval: 1s
evaluation_interval: 1s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['host.docker.internal:9090']
- job_name: 'codex-metrics'
file_sd_configs:
- files:
- '/etc/prometheus/targets/*.json'
refresh_interval: 1s
scrape_interval: 1s
metrics_path: '/metrics'
scheme: http