docs: reconcile Prometheus implementation status (#361)
Heimdall Gitea / Detect CI scope (pull_request) Successful in 7s
Heimdall Gitea / Build and tests (pull_request) Skipped
Heimdall Gitea / Build and scan server image (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Skipped
Heimdall Gitea / Publish versioned installer release (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Successful in 3s
Heimdall Gitea / Detect CI scope (pull_request) Successful in 7s
Heimdall Gitea / Build and tests (pull_request) Skipped
Heimdall Gitea / Build and scan server image (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Skipped
Heimdall Gitea / Publish versioned installer release (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Successful in 3s
This commit is contained in:
1 parent
af7a1b9585
commit
fd282399d9
2 files changed
+3
-1
No files matched your search
@@ -506,7 +506,7 @@ Le client natif a été retiré. Voir [l’audit PWA](pwa.md) et les [issues Git
|
||||
## À faire
|
||||
|
||||
- [ ] Serilog + Seq/GlitchTip
|
||||
- [ ] Métriques Prometheus
|
||||
- [x] Export des métriques Prometheus Central/Agent (`/metrics`); le scraping externe et les seuils d'alerte en exploitation restent à configurer et valider par l'opérateur.
|
||||
- [ ] Backup PostgreSQL automatisé
|
||||
- [ ] Backup RustFS (S3 → S3)
|
||||
- [ ] Tests de charge (k6)
|
||||
|
||||
@@ -16,6 +16,8 @@ Use this workflow when changing `Dockerfile` health checks, Central Compose heal
|
||||
|
||||
For a Central scrape check, the source-built server image exposes GET /metrics as Prometheus text and includes ASP.NET Core instrumentation after a request. Use the same disposable Compose isolation and an explicitly empty Sentry DSN; scrape the host loopback port, assert HTTP 200 plus Prometheus # HELP/# TYPE and an ASP.NET request metric, then remove the project and verify zero containers, volumes, and networks. Remove and verify absence of that recipe's unique server image tag afterward.
|
||||
|
||||
When updating implementation-status documentation, verify both `src/Heimdall.Web/Program.cs` and `src/Heimdall.Agent/Program.cs` for exporter registration and `/metrics` mapping, then compare the documented signal inventory with `docs/metrics.md` and example alert rules with `deploy/prometheus/heimdall-alerts.yml`. Mark exporter implementation separately from an operator's Prometheus scrape, deployed alerting, or threshold validation; local or CI evidence does not establish those external states.
|
||||
|
||||
On 5 November 2026, project hmd-metrics-scrape-1793874584 reused the prior source-built OCR Central image (no code changes between that image and this scrape). It returned HTTP 200 with Prometheus exposition and ASP.NET metrics; Sentry DSN was empty and teardown verified 0/0/0. This is a partial Docker recipe result: it did not build a unique image for this scrape, so no exact-tag image removal was performed. Repeat the check with a fresh project-unique source-built tag before treating the Docker acceptance as complete. This local check does not validate a deployed Prometheus server or alert thresholds.
|
||||
|
||||
PostgreSQL readiness regression checks were also rerun locally on 5 November 2026: HealthControllerTests passed 5/5 with the disposable Testcontainers database. The Testcontainers reaper and database stopped after the run; unrelated labeled database services were left untouched.
|
||||
Reference in new issue
Block a user