From 4b8d9f0e8cefaf6200a58f8d48b6cfb85a4c4966 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Wed, 6 May 2026 15:59:00 -0400 Subject: [PATCH] feat(deploy): add Prometheus scrape config --- deploy/truenas/core/prom/prometheus.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 deploy/truenas/core/prom/prometheus.yml diff --git a/deploy/truenas/core/prom/prometheus.yml b/deploy/truenas/core/prom/prometheus.yml new file mode 100644 index 0000000..02376ed --- /dev/null +++ b/deploy/truenas/core/prom/prometheus.yml @@ -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: + # password: