Skip to content

[flink] Add partial lookup metrics to query service#8822

Merged
JingsongLi merged 2 commits into
apache:masterfrom
lilei1128:lookup-service-metics
Jul 23, 2026
Merged

[flink] Add partial lookup metrics to query service#8822
JingsongLi merged 2 commits into
apache:masterfrom
lilei1128:lookup-service-metics

Conversation

@lilei1128

Copy link
Copy Markdown
Contributor

Purpose

Register PartialLookupMetrics in QueryExecutorOperator and inject them into
the query service's LocalTableQuery. This exposes lookup request counts and
table-storage access counts for remote query service lookups while preserving
the existing Full Cache and RPC metric behavior.

Make the query service metrics test deterministic by writing one record and
querying the same key twice, validating that the first lookup accesses table
storage and the second lookup hits the local lookup-file cache.

Tests

RemoteLookupJoinITCase#testRemoteQueryServicePartialLookupMetrics.

@JingsongLi JingsongLi left a comment

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.

+1

@JingsongLi
JingsongLi merged commit c5884b6 into apache:master Jul 23, 2026
12 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.

2 participants