Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Health Check Additions #6416

Open
co-jo opened this issue Nov 5, 2021 · 0 comments · May be fixed by #6468
Open

Feature: Health Check Additions #6416

co-jo opened this issue Nov 5, 2021 · 0 comments · May be fixed by #6468

Comments

@co-jo
Copy link
Member

co-jo commented Nov 5, 2021

Health Checks

This issue is meant to track the various classes and state that we hope to integrate with the health check framework. The following like appears in no order of importance.

BookKeeperLog - ✔️

  • private final WriteQueue writes : Capture the number of writes and the length of the queue.

DurableLog - ✔️

  • isOffline(): Capture if the durable log is considered offline or not.
  • state(): Report the State of the service (extends AbstractService).

InMemoryLog - ✔️

  • size(): Captures the size of the queue (extends AbstractDrainingQueue).

OperationProcessor - ✔️

  • state(): Report the State of the service (extends AbstractService).
  • private final PriorityBlockingDrainingQueue<CompletableOperation> operationQueue;: Report the size() of this queue.
  • private final BlockingDrainingQueue<List<CompletableOperation>> commitQueue;: Report the size() of this queue.

StreamSegmentContainer - ✔️

  • private final OperationLog durableLog: Report the State (state()) of the service (extends AbstractService).
  • private final Writer writer: Report the State (state()) of the service (extends AbstractService).
  • private final MetadataCleaner metadataCleaner: Report the State (state()) of the service (extends AbstractService).

StreamSegmentContainerMetadata - ✔️

  • getActiveSegmentCount(): Reports the amount of active segments.
  • getOperationSequenceNumber(): Reports the current operation sequence number.
  • Report the difference between sequenceNumber and the lastTruncatedSequenceNumber.


Let these symbols, ✔️ and ❌, represent a complete and not-started state respectively.

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 a pull request may close this issue.

1 participant