Skip to content

feat(inkless): Add metrics for sealed partitions#534

Merged
jeqo merged 1 commit intomainfrom
giuseppelillo/add-metrics-sealed-partitions
Mar 13, 2026
Merged

feat(inkless): Add metrics for sealed partitions#534
jeqo merged 1 commit intomainfrom
giuseppelillo/add-metrics-sealed-partitions

Conversation

@giuseppelillo
Copy link
Copy Markdown
Contributor

No description provided.


private def reassigningPartitionsCount: Int = leaderPartitionsIterator.count(_.isReassigning)

private def sealedPartitionsCount: Int = onlinePartitionsIterator.count(_.isSealed)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC, this metric is only counting sealed leaders right? Should we use leaderPartitionsIterator instead`?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, fixed it

@giuseppelillo giuseppelillo force-pushed the giuseppelillo/add-metrics-sealed-partitions branch from 19997dd to def8c4a Compare March 13, 2026 16:17
@jeqo jeqo merged commit 4777e9e into main Mar 13, 2026
5 checks passed
@jeqo jeqo deleted the giuseppelillo/add-metrics-sealed-partitions branch March 13, 2026 16:39
AnatolyPopov pushed a commit that referenced this pull request Mar 23, 2026
jeqo pushed a commit that referenced this pull request Mar 23, 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