feat: add Pi monitoring stack with deployment scripts and architecture documentation

This commit is contained in:
S
2026-03-02 21:12:24 -05:00
parent ca4f4924b6
commit 780748083f
16 changed files with 1106 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ["prometheus:9090"]
- job_name: pi-node
static_configs:
- targets: ["node-exporter:9100"]
- job_name: pi-cadvisor
static_configs:
- targets: ["cadvisor:8080"]
# Add Fedora/Unraid (or any remote host) targets in:
# /srv/ops/prometheus/targets/external.yml
# A template is generated from external.yml.example by deploy_stack.sh.
- job_name: external-node-exporters
file_sd_configs:
- files:
- /etc/prometheus/targets/*.yml

View File

@@ -0,0 +1,15 @@
# Example scrape targets for external hosts.
# Copy to /srv/ops/prometheus/targets/external.yml and edit real IPs.
- labels:
job: unraid-node
targets:
- 192.168.1.82:9100
- labels:
job: fedora-node
targets:
- 192.168.1.90:9100
# If you expose cAdvisor on remote hosts, add additional targets here.
# Keep this file in YAML list format.