-
Notifications
You must be signed in to change notification settings - Fork 961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(shwap/bitswap): add blockstore metrics #3862
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3862 +/- ##
==========================================
+ Coverage 44.83% 45.26% +0.42%
==========================================
Files 265 309 +44
Lines 14620 22145 +7525
==========================================
+ Hits 6555 10023 +3468
- Misses 7313 11050 +3737
- Partials 752 1072 +320 ☔ View full report in Codecov by Sentry. |
getSize metric.Int64Counter | ||
put metric.Int64Counter | ||
putMany metric.Int64Counter | ||
allKeysChan metric.Int64Counter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We dont need this one realistically. We dont implement it and never call it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The blockstore metrics are design as general purpose wrapper. Metrics wrapper is also used for Light node blockstore, which implements those operations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM 🤷♂️ not sure about Hlib
Add telemetry for server side of bitswap (blockstore) operations.