[lake/tiering] Add CoordinatorServer Monitoring Metrics for Lake Tiering Scheduling#2815
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds global CoordinatorServer metrics to monitor lake tiering scheduling activity.
Changes:
- Introduces a
LakeTieringMetricGroupand wires it intoCoordinatorServer/LakeTableTieringManager. - Registers two new gauges (
pendingTablesCount,runningTablesCount) for lake tiering. - Updates docs and tests to reflect/validate the new metrics.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| website/docs/maintenance/observability/monitor-metrics.md | Documents the new lake tiering coordinator metrics. |
| fluss-server/src/main/java/org/apache/fluss/server/metrics/group/LakeTieringMetricGroup.java | Adds a dedicated metric group under the coordinator scope. |
| fluss-server/src/main/java/org/apache/fluss/server/coordinator/LakeTableTieringManager.java | Registers gauges + adjusts locking to support safe metric reads. |
| fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorServer.java | Instantiates the tiering metric group and passes it to the manager. |
| fluss-common/src/main/java/org/apache/fluss/metrics/MetricNames.java | Adds metric name constants for the new gauges. |
| fluss-server/src/test/java/org/apache/fluss/server/metrics/group/TestingMetricGroups.java | Provides a reusable LakeTieringMetricGroup for tests. |
| fluss-server/src/test/java/org/apache/fluss/server/coordinator/LakeTableTieringManagerTest.java | Adds a test validating pending/running counts. |
| fluss-server/src/test/java/org/apache/fluss/server/coordinator/statemachine/TableBucketStateMachineTest.java | Updates construction of LakeTableTieringManager to pass the metric group. |
| fluss-server/src/test/java/org/apache/fluss/server/coordinator/rebalance/RebalanceManagerTest.java | Updates construction of LakeTableTieringManager to pass the metric group. |
| fluss-server/src/test/java/org/apache/fluss/server/coordinator/CoordinatorEventProcessorTest.java | Updates construction of LakeTableTieringManager to pass the metric group. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d861665 to
168b680
Compare
hemanthsavasere
pushed a commit
to hemanthsavasere/fluss
that referenced
this pull request
Mar 14, 2026
wxplovecc
pushed a commit
to tongcheng-elong/fluss
that referenced
this pull request
Apr 17, 2026
wxplovecc
pushed a commit
to tongcheng-elong/fluss
that referenced
this pull request
Apr 20, 2026
Ugbot
pushed a commit
to Ugbot/fluss
that referenced
this pull request
Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #2816
Brief change log
Scope: coordinator > lakeTiering (global)
pendingTablesCountrunningTablesCountTests
API and Format
Documentation