Skip to content

Add Topic compression and processing duration histograms - #778

Open
KirillKurdyukov wants to merge 1 commit into
topic-session-errorsfrom
topic-codec-metrics
Open

KirillKurdyukov wants to merge 1 commit into
topic-session-errorsfrom
topic-codec-metrics

Conversation

@KirillKurdyukov

Copy link
Copy Markdown
Contributor

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 88.57143% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.43%. Comparing base (7dfb60e) to head (c050d91).

Files with missing lines Patch % Lines
...n/java/tech/ydb/topic/read/impl/ReaderMetrics.java 73.33% 1 Missing and 3 partials ⚠️
.../java/tech/ydb/topic/write/impl/WriterMetrics.java 73.33% 1 Missing and 3 partials ⚠️
Additional details and impacted files
@@                   Coverage Diff                   @@
##             topic-reader-metrics     #778   +/-   ##
=======================================================
  Coverage                   75.42%   75.43%           
- Complexity                   3769     3781   +12     
=======================================================
  Files                         396      396           
  Lines                       16932    16995   +63     
  Branches                     1793     1802    +9     
=======================================================
+ Hits                        12771    12820   +49     
- Misses                       3543     3548    +5     
- Partials                      618      627    +9     

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