feat(deploy): add Prometheus scrape config
Some checks failed
ci / race tests (push) Blocked by required conditions
ci / WebRTC smoke (5-viewer fanout) (push) Blocked by required conditions
ci / WebRTC latency p95 gate (push) Blocked by required conditions
ci / vet + build (push) Has been cancelled

This commit is contained in:
Zac Gaetano 2026-05-06 15:59:00 -04:00
parent 1748f9102d
commit 4b8d9f0e8c

View file

@ -0,0 +1,19 @@
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
external_labels:
core: dragonfork-truenas
rule_files:
- /etc/prometheus/rules/*.yml
scrape_configs:
- job_name: dragonfork-core
static_configs:
- targets: ["host.docker.internal:${CORE_HTTP_PORT:-8080}"]
metrics_path: /metrics
# If API auth is enabled on /metrics, uncomment and add creds:
# basic_auth:
# username: <user>
# password: <pass>