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

services/object: Inline metric handler #3083

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Conversation

cthulhu-rider
Copy link
Contributor

one more cut from #3057, continues #3081

to be continued

Use op enum to have one method for all ops. Submit success and duration
in one call.

Signed-off-by: Leonard Lyubich <[email protected]>
It's invisible outside anyway.

Signed-off-by: Leonard Lyubich <[email protected]>
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 2.85714% with 68 lines in your changes missing coverage. Please review.

Project coverage is 22.24%. Comparing base (1d699a9) to head (1e40321).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/object/server.go 4.76% 40 Missing ⚠️
pkg/metrics/object.go 0.00% 26 Missing ⚠️
cmd/neofs-node/object.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3083      +/-   ##
==========================================
+ Coverage   22.21%   22.24%   +0.03%     
==========================================
  Files         772      771       -1     
  Lines       59025    58950      -75     
==========================================
+ Hits        13112    13115       +3     
+ Misses      45027    44950      -77     
+ Partials      886      885       -1     

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

@cthulhu-rider cthulhu-rider marked this pull request as ready for review January 16, 2025 09:57
pkg/services/object/server.go Outdated Show resolved Hide resolved
pkg/services/object/server.go Outdated Show resolved Hide resolved
pkg/services/object/server.go Show resolved Hide resolved
Continues c5b0800. This inlines one
level of recurrent object services into the gRPC server implementation.
The behavior is kept.

Signed-off-by: Leonard Lyubich <[email protected]>
@roman-khimov roman-khimov merged commit b9fbe92 into master Jan 16, 2025
20 of 22 checks passed
@roman-khimov roman-khimov deleted the avoid-apigo-objsvc branch January 16, 2025 14:28
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