Skip to content
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

Fix neofs_node_engine_list_objects_time_bucket metric #3120

Conversation

End-rey
Copy link
Contributor

@End-rey End-rey commented Feb 11, 2025

Fix #3108.

It seems that the function List is not used anywhere. Do we need it?

The metric was called in a function that was not called anywhere because there
is a similar function that is being used. Now the metric is called on the used
function.

Fix #3108.

Signed-off-by: Andrey Butusov <[email protected]>
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 22.92%. Comparing base (64dac4c) to head (87441c3).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
pkg/local_object_storage/engine/list.go 0.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3120   +/-   ##
=======================================
  Coverage   22.92%   22.92%           
=======================================
  Files         750      750           
  Lines       58710    58683   -27     
=======================================
- Hits        13459    13456    -3     
+ Misses      44310    44284   -26     
- Partials      941      943    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roman-khimov
Copy link
Member

It seems that the function List is not used anywhere. Do we need it?

I'd drop it, I don't see any use cases for it.

Drop the function that was not called anywhere because there is a similar
function `ListWithCursor` that is being used.

Signed-off-by: Andrey Butusov <[email protected]>
@cthulhu-rider cthulhu-rider merged commit eb90734 into master Feb 12, 2025
21 of 22 checks passed
@cthulhu-rider cthulhu-rider deleted the 3108-list_objects_time_bucket-metrics-sometimes-doesnt-tick branch February 12, 2025 08:17
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.

neofs_node_engine_list_objects_time_bucket metrics sometimes doesn't tick
3 participants