Skip to content

Add Topic Reader metrics - #775

Merged
alex268 merged 11 commits into
topic-session-errorsfrom
topic-reader-metrics
Oct 20, 2026
Merged

alex268 merged 11 commits into
topic-session-errorsfrom
topic-reader-metrics

Conversation

@KirillKurdyukov

Copy link
Copy Markdown
Collaborator

Add commit counters and lag, buffered-message count and oldest-message age.

Depends on #747.

@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.85714% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.42%. Comparing base (181e39c) to head (49c5c9a).
⚠️ Report is 4 commits behind head on topic-session-errors.

Files with missing lines Patch % Lines
...n/java/tech/ydb/topic/read/impl/ReaderMetrics.java 68.33% 15 Missing and 4 partials ⚠️
...a/tech/ydb/topic/read/impl/ReadPartitionQueue.java 0.00% 3 Missing ⚠️
.../java/tech/ydb/topic/read/impl/SyncReaderImpl.java 25.00% 3 Missing ⚠️
.../main/java/tech/ydb/topic/read/impl/BatchMeta.java 50.00% 1 Missing ⚠️
...ain/java/tech/ydb/topic/read/impl/MessageImpl.java 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (67.85%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             topic-session-errors     #775      +/-   ##
==========================================================
- Coverage                   75.48%   75.42%   -0.07%     
- Complexity                   3764     3769       +5     
==========================================================
  Files                         396      396              
  Lines                       16869    16951      +82     
  Branches                     1787     1796       +9     
==========================================================
+ Hits                        12734    12785      +51     
- Misses                       3515     3542      +27     
- Partials                      620      624       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KirillKurdyukov
KirillKurdyukov deleted the branch topic-session-errors October 16, 2026 18:24
@alex268
alex268 merged commit 1078d6a into topic-session-errors Oct 20, 2026
15 of 16 checks passed
@alex268
alex268 deleted the topic-reader-metrics branch October 20, 2026 14:20
@KirillKurdyukov
KirillKurdyukov restored the topic-reader-metrics branch October 22, 2026 11:23
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