Skip to content

[metrics] Add scanner poll-timing metrics - #555

Merged
fresh-borzoni merged 6 commits into
apache:mainfrom
charlesdong1991:scanner-metrics-polling
May 26, 2026
Merged

[metrics] Add scanner poll-timing metrics#555
fresh-borzoni merged 6 commits into
apache:mainfrom
charlesdong1991:scanner-metrics-polling

Conversation

@charlesdong1991

Copy link
Copy Markdown
Contributor

Purpose

This PR adds the two viable poll-timing gauges.

Note that it doesn't implement lastPollSecondsAgo metric because it will require a different emission mechasnim, so better to separate implementations in different PRs. I created an issue here: #554

Linked issue: close #552

Brief change log

Tests

All passed locally.

API and Format

Documentation

@charlesdong1991

Copy link
Copy Markdown
Contributor Author

@fresh-borzoni @leekeiabstraction appreciate if you can give. a look! 🙏

@fresh-borzoni

Copy link
Copy Markdown
Member

@charlesdong1991 Ty for the PR!
Can you, please, rebase and resolve conflicts?

@charlesdong1991

Copy link
Copy Markdown
Contributor Author

@fresh-borzoni resolved! ^^

@fresh-borzoni fresh-borzoni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@charlesdong1991 Ty for the PR, LGTM overall, minor comments

Comment thread crates/fluss/src/metrics.rs
Comment thread crates/fluss/src/client/table/scanner.rs
Comment thread crates/fluss/src/client/table/scanner.rs Outdated
@charlesdong1991

Copy link
Copy Markdown
Contributor Author

thanks for reviews @fresh-borzoni PTAL 🙏

@fresh-borzoni fresh-borzoni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@charlesdong1991 TY, LGTM 👍

@fresh-borzoni
fresh-borzoni merged commit 4ca24ea into apache:main May 26, 2026
11 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.

[metrics] Add scanner poll-timing metrics for consumer liveness observability

2 participants