Skip to content

Provide get_started statistic#265

Merged
djc merged 2 commits into
djc:mainfrom
stormshield-fabs:add_get_started_stat
Nov 7, 2025
Merged

Provide get_started statistic#265
djc merged 2 commits into
djc:mainfrom
stormshield-fabs:add_get_started_stat

Conversation

@stormshield-fabs

Copy link
Copy Markdown
Contributor

The current get_* metrics only account for completed operations, so it's not possible to know how many tasks are waiting for a connection.

This new counter get_started is incremented before we start waiting in get, allowing the user to monitor the queue size by computing the difference with the other get_* statistics.

@codecov

codecov Bot commented Nov 6, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 45.45455% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.27%. Comparing base (b34c071) to head (ab0052b).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
bb8/src/api.rs 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
- Coverage   80.88%   80.27%   -0.61%     
==========================================
  Files           6        6              
  Lines         633      644      +11     
==========================================
+ Hits          512      517       +5     
- Misses        121      127       +6     

☔ View full report in Codecov by Sentry.
📢 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.

Comment thread bb8/src/api.rs
Comment thread bb8/src/api.rs Outdated
@djc djc merged commit 0cb8d94 into djc:main Nov 7, 2025
8 of 10 checks passed
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