Skip to content

[lake/tiering] add tiering table pending time and freshness metrics#3076

Merged
wuchong merged 4 commits intoapache:mainfrom
beryllw:feature/lake-tiering-pending-freshness-metrics-clean
Apr 16, 2026
Merged

[lake/tiering] add tiering table pending time and freshness metrics#3076
wuchong merged 4 commits intoapache:mainfrom
beryllw:feature/lake-tiering-pending-freshness-metrics-clean

Conversation

@beryllw
Copy link
Copy Markdown
Contributor

@beryllw beryllw commented Apr 14, 2026

Purpose

Linked issue: close #3075

Brief change log

Add two new table-level metrics for lake tiering monitoring:

  • pendingTime: Tracks how long a table has been waiting in the pending queue
  • freshness: Exposes the user-configured table data freshness interval

Tests

API and Format

Documentation

@beryllw beryllw force-pushed the feature/lake-tiering-pending-freshness-metrics-clean branch from 6959bfd to bfee6d0 Compare April 15, 2026 00:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds two new lake tiering table-level metrics to improve observability of tiering behavior and configuration, and documents them in the website metrics reference.

Changes:

  • Add pendingTime gauge to expose how long a table has been waiting in the tiering pending queue.
  • Add freshness gauge to expose the configured table data freshness interval (ms).
  • Update metrics documentation to include the two new metrics and adjust table rowspans accordingly.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
website/docs/maintenance/observability/monitor-metrics.md Documents the new lakeTiering_table metrics and updates table rowspans.
fluss-server/src/main/java/org/apache/fluss/server/coordinator/LakeTableTieringManager.java Implements the new per-table gauges and tracks pending-entry timestamps.
fluss-common/src/main/java/org/apache/fluss/metrics/MetricNames.java Adds metric name constants for pendingTime and freshness.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wuchong wuchong merged commit 92ca8c6 into apache:main Apr 16, 2026
7 checks passed
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.

[lake/tiering] Add pendingTime and freshness metrics for lake tiering tables

3 participants