Skip to content

Conversation

@dmidem
Copy link
Collaborator

@dmidem dmidem commented Aug 26, 2025

This PR introduces a new health check feature for Zebra:

  • Adds a gethealthinfo JSON-RPC method that returns a liveness/readiness status and build metadata.
  • Makes the same data available via a simple GET /health HTTP request, using ServerBuilder::health_api.
  • The implementation is guarded by the new gethealthinfo-rpc feature flag, so it can be enabled or disabled at build time.
  • Includes tests that verify the RPC call and the HTTP endpoint (when the feature is enabled).

Co-authored-by: Arseni Kalma <senia.kalma@gmail.com>
@dmidem
Copy link
Collaborator Author

dmidem commented Sep 3, 2025

Clossed in favour of #82

@dmidem dmidem closed this Sep 3, 2025
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.

2 participants