You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mirror FR-064 (Verifier metrics) for the Keylime Registrar: probe-based
reachability, API latency, registered agent count, and registration
throughput. Acknowledge NFR-017 circuit breaker is Verifier-only.
Update SDD traceability matrix, API route tree, and frontend routing.
Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Then the plugin MUST NOT appear in the Cockpit sidebar
3061
3062
```
3062
3063
3064
+
### FR-095: Registrar Reachability, Latency, and Registration Monitoring
3065
+
3066
+
**Description:** The System MUST monitor Keylime Registrar health using metrics derivable from the Keylime Registrar REST API and the dashboard backend's own instrumentation. Monitored metrics MUST include: registrar reachability (boolean probe result), API round-trip latency in milliseconds from a lightweight probe request, registered agent count (from `GET /v2/agents/` on the Registrar), and registration throughput (derived by computing registered-agent-count deltas across successive polling intervals). Unlike verifier monitoring (FR-064), the Registrar has no circuit breaker requirement — NFR-017 applies exclusively to Verifier API calls. Core service health probes MUST bypass any future connection-management layer to reflect real connectivity status, consistent with the FR-057 precedent for core service health checks. Registrar metrics MUST be included in the unified performance summary endpoint alongside verifier metrics (FR-064) so the frontend can fetch both Verifier and Registrar health in a single API call.
Given a hypothetical connection management layer is configured for the registrar
3107
+
And the registrar service is reachable
3108
+
When the System performs a registrar health probe
3109
+
Then the probe MUST connect directly to the registrar endpoint
3110
+
And the probe result MUST reflect actual registrar connectivity
3111
+
```
3112
+
3113
+
**Implementation Notes:** The Keylime Registrar REST API exposes agent registration data via `GET /v2/agents/` and individual agent details via `GET /v2/agents/{agent_id}`. Registration throughput is a derived metric computed by the dashboard backend by comparing the registered agent count across successive polling intervals — it is not read directly from a Registrar endpoint. The Registrar API does not expose registration error rates or internal queue depths; monitoring those metrics would require an external observability stack and is outside the scope of this requirement. Unlike the Verifier (which has a circuit breaker per NFR-017), the Registrar has no circuit breaker requirement in this specification — probes are always direct.
0 commit comments