Skip to content

Add unified performance summary endpoint and resilient verifier handler#94

Merged
sarroutbi merged 1 commit into
keylime-webtool:mainfrom
sarroutbi:add-performance-summary-endpoint
May 13, 2026
Merged

Add unified performance summary endpoint and resilient verifier handler#94
sarroutbi merged 1 commit into
keylime-webtool:mainfrom
sarroutbi:add-performance-summary-endpoint

Conversation

@sarroutbi
Copy link
Copy Markdown
Contributor

Add GET /api/performance/summary that aggregates verifier reachability, latency, circuit breaker state, agent count, estimated attestation rate, capacity utilization, and database pool status into a single response for frontend dashboard summary cards.

Modify verifier_metrics handler to degrade gracefully when the verifier is unreachable, returning reachable: false and circuit_breaker: "open" instead of propagating the error.

Add three Mockoon integration tests exercising the summary and verifier endpoints with both reachable and unreachable verifier scenarios. Add curl integration test coverage for the new summary endpoint.

Add GET /api/performance/summary that aggregates verifier reachability,
latency, circuit breaker state, agent count, estimated attestation rate,
capacity utilization, and database pool status into a single response
for frontend dashboard summary cards.

Modify verifier_metrics handler to degrade gracefully when the verifier
is unreachable, returning reachable: false and circuit_breaker: "open"
instead of propagating the error.

Add three Mockoon integration tests exercising the summary and verifier
endpoints with both reachable and unreachable verifier scenarios. Add
curl integration test coverage for the new summary endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
@sarroutbi sarroutbi merged commit 2a5bf2b into keylime-webtool:main May 13, 2026
12 checks passed
@sarroutbi sarroutbi deleted the add-performance-summary-endpoint branch May 13, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant