ozone
ozone copied to clipboard
HDDS-11248. Ozone Recon - API Endpoint for exposing ReconContext information.
What changes were proposed in this pull request?
This pull request introduces a new API endpoint in Ozone Recon that exposes the ReconContext information, which includes internal health status, errors, and initialization inconsistencies of various Recon services during startup. This API is designed to be used by admin users for diagnostic purposes and is not intended for consumption by the Recon UI. The endpoint provides valuable insights into the Recon service's operational state, aiding in troubleshooting and ensuring smoother operations.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11248
How was this patch tested?
Unit Test and Manual Testing The Info is exposed on the endpoints :-
http://localhost:9888/api/v1/reconcontext/status
http://localhost:9888/api/v1/reconcontext/errors
http://localhost:9888/api/v1/reconcontext/health