nl2sql-copilot / prometheus /prometheus.yml
Melika Kheirieh
feat(metrics): instrument per-stage and pipeline_total latency; count pipeline_runs_total (ok/error/ambiguous)
2e3e9b8
raw
history blame
381 Bytes
global:
scrape_interval: 15s
evaluation_interval: 15s
# Load recording and alerting rules from this file
rule_files:
- rules.yml # relative to this directory (prometheus/)
scrape_configs:
- job_name: "nl2sql-app"
static_configs:
- targets: ["host.docker.internal:8000"] # use this if Prometheus runs inside Docker
labels:
service: "nl2sql"