Skip to content

Add Topic compression and processing duration histograms - #778

Merged
alex268 merged 2 commits into
topic-session-errorsfrom
topic-codec-metrics
Oct 21, 2026
Merged

alex268 merged 2 commits into
topic-session-errorsfrom
topic-codec-metrics

Conversation

@KirillKurdyukov

Copy link
Copy Markdown
Collaborator

Child of #775; base: topic-reader-metrics.

Adds compression.duration and message.processing.duration histograms for Topic Writer and Reader. Preparation includes internal queueing; codec timing excludes queueing. Records successful and failed operations with codec/outcome and error.type on errors. RAW has preparation timing only.

Verified: 122 existing tests, 17 public-SDK/component scenarios, Checkstyle with no violations. No test changes.

@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.42%. Comparing base (7dfb60e) to head (d4d9b40).
⚠️ Report is 9 commits behind head on topic-session-errors.

Files with missing lines Patch % Lines
.../java/tech/ydb/topic/write/impl/WriterMetrics.java 70.58% 1 Missing and 4 partials ⚠️
...n/java/tech/ydb/topic/read/impl/ReaderMetrics.java 84.21% 3 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##             topic-session-errors     #778      +/-   ##
==========================================================
- Coverage                   75.42%   75.42%   -0.01%     
- Complexity                   3769     3782      +13     
==========================================================
  Files                         396      396              
  Lines                       16932    17001      +69     
  Branches                     1793     1805      +12     
==========================================================
+ Hits                        12771    12823      +52     
- Misses                       3543     3549       +6     
- Partials                      618      629      +11     

☔ 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.

Base automatically changed from topic-reader-metrics to topic-session-errors October 20, 2026 14:19
@alex268
alex268 merged commit 9ab93b4 into topic-session-errors Oct 21, 2026
16 checks passed
@alex268
alex268 deleted the topic-codec-metrics branch October 21, 2026 14:16
@KirillKurdyukov
KirillKurdyukov restored the topic-codec-metrics branch October 21, 2026 16:48
@KirillKurdyukov
KirillKurdyukov deleted the topic-codec-metrics branch October 21, 2026 21:06
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