Skip to content

Add ydb.client.operation.failed metric to query and table clients - #806

Open
KirillKurdyukov wants to merge 3 commits into
masterfrom
operation-failed-metrics
Open

KirillKurdyukov wants to merge 3 commits into
masterfrom
operation-failed-metrics

Conversation

@KirillKurdyukov

@KirillKurdyukov KirillKurdyukov commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Adds the ydb.client.operation.failed counter (database, operation.name, status_code) for ExecuteQuery/Commit/Rollback/CreateSession in QueryClient, Table-over-Query and classic TableClient, as described in the observability SDK contract.

@codecov

codecov Bot commented Dec 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.50000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.11%. Comparing base (5d86a79) to head (69fd2ba).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...ain/java/tech/ydb/table/impl/pool/SessionPool.java 57.14% 3 Missing ⚠️
...ain/java/tech/ydb/table/impl/OperationMetrics.java 90.90% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #806      +/-   ##
============================================
+ Coverage     76.06%   76.11%   +0.05%     
- Complexity     3886     3899      +13     
============================================
  Files           399      400       +1     
  Lines         17251    17271      +20     
  Branches       1825     1826       +1     
============================================
+ Hits          13122    13146      +24     
- Misses         3503     3504       +1     
+ Partials        626      621       -5     

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

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