Add M8.5 observability: pinned Prometheus, tested alerts, capacity metrics
An AEvolution-only Prometheus 3.13.3 and Alertmanager 0.34.1, pinned by digest and delivered by Argo (ADR-0072), scrape each region's operations Service through static targets (no API access, no RBAC); the region namespaces admit port 9100 from Prometheus only. Sixteen alert rules cover authority, lease, commits, backlog and object capacity and are proven by promtool injection tests in CI with tools copied from the same pinned images. Two new gauges expose object volume free space and the reserve. Alerts route to a null receiver until a destination is chosen; no broker is adopted and the database outbox stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -81,6 +81,10 @@ std::string render_metrics(const HostStatus& s, const OpsCounters& c) {
|
||||
c.queue_capacity_inputs);
|
||||
metric(out, "evo_region_queue_capacity_bytes", "gauge", "Input backlog byte bound",
|
||||
c.queue_capacity_bytes);
|
||||
metric(out, "evo_region_objects_available_bytes", "gauge",
|
||||
"Free bytes on the object volume available to the host", c.objects_available_bytes);
|
||||
metric(out, "evo_region_objects_reserve_bytes", "gauge",
|
||||
"Free-space reserve below which new objects are refused", c.objects_reserve_bytes);
|
||||
metric(out, "evo_region_commits_total", "counter", "Confirmed commits", s.commits);
|
||||
metric(out, "evo_region_store_failures_total", "counter",
|
||||
"Storage or database failures that paused progress", s.store_failures);
|
||||
|
||||
Reference in New Issue
Block a user