Skip to content

feat: add UnprocessedBatches metric#32

Open
volmedo wants to merge 2 commits intomainfrom
vic/feat/unprocessed-batches-metric
Open

feat: add UnprocessedBatches metric#32
volmedo wants to merge 2 commits intomainfrom
vic/feat/unprocessed-batches-metric

Conversation

@volmedo
Copy link
Member

@volmedo volmedo commented Feb 5, 2026

Ref. #31

Add a metric to track the total number of batches pending consolidation.

It will be helpful to tweak consolidation parameters and know if pending batches are accumulating.

To avoid drift in the metric, the service will reconcile the metric with the actual value during startup, counting the items in the index. This should be performant enough given the index should contain a small-medium number of items.

@volmedo volmedo requested a review from alanshaw February 5, 2026 18:11
@volmedo volmedo self-assigned this Feb 5, 2026
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