Skip to content

Add Topic Reader metrics - #775

Draft
KirillKurdyukov wants to merge 2 commits into
topic-session-errorsfrom
topic-reader-metrics
Draft

KirillKurdyukov wants to merge 2 commits into
topic-session-errorsfrom
topic-reader-metrics

Conversation

@KirillKurdyukov

Copy link
Copy Markdown
Contributor

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 57.14286% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.44%. Comparing base (181e39c) to head (a37ba16).
⚠️ 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 67.85% 8 Missing and 1 partial ⚠️
...ch/ydb/topic/read/impl/ReadPartitionCommitter.java 62.50% 5 Missing and 1 partial ⚠️
...ain/java/tech/ydb/topic/read/impl/ReadSession.java 40.00% 6 Missing ⚠️
...a/tech/ydb/topic/read/impl/ReadPartitionQueue.java 20.00% 4 Missing ⚠️
.../java/tech/ydb/topic/read/impl/SyncReaderImpl.java 20.00% 4 Missing ⚠️
...n/java/tech/ydb/topic/read/impl/ReadPartition.java 25.00% 3 Missing ⚠️
.../main/java/tech/ydb/topic/read/impl/BatchMeta.java 71.42% 2 Missing ⚠️
...ain/java/tech/ydb/topic/read/impl/MessageImpl.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##             topic-session-errors     #775      +/-   ##
==========================================================
- Coverage                   75.48%   75.44%   -0.05%     
- Complexity                   3764     3776      +12     
==========================================================
  Files                         396      396              
  Lines                       16869    16943      +74     
  Branches                     1787     1792       +5     
==========================================================
+ Hits                        12734    12782      +48     
- Misses                       3515     3545      +30     
+ Partials                      620      616       -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
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.

1 participant