Add Prometheus/Grafana monitoring stack (refs #19)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/head This commit looks good
Assignment 7 (instructor manual v1.42, Chapter 5): Prometheus, Grafana OSS, Node Exporter and Blackbox Exporter beside Gitea/Jenkins on The-Ocean, pinned by tag and digest, memory-capped for the 1 GiB droplet, no host ports. - monitoring/: compose, scrape and probe config, Grafana provisioning (data source, Group 1 SRE dashboard, two alert rules, Discord contact point via env var), README with deploy/backup/rollback and runbooks, EVIDENCE.md with the deploy, capacity and exposure test records. - deploy/: private probe network (172.30.90.0/28) with Caddy aliases; ci allowlist admits only the Blackbox address 172.30.90.10; new metrics.yebilly.me route behind the same allowlist. - manual images: DNS record, Discord webhook, contact-point test, dashboard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Success = DNS answer, valid certificate for the hostname, redirects followed,
|
||||
# and a final 2xx on the login page. TLS verification stays on.
|
||||
modules:
|
||||
http_2xx:
|
||||
prober: http
|
||||
timeout: 10s
|
||||
http:
|
||||
method: GET
|
||||
preferred_ip_protocol: ip4
|
||||
valid_status_codes: [] # empty = any 2xx
|
||||
follow_redirects: true
|
||||
fail_if_not_ssl: true
|
||||
tls_config:
|
||||
insecure_skip_verify: false
|
||||
Reference in New Issue
Block a user