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

rpc: unify RPC handlers and metrics #753

Merged
merged 14 commits into from
Mar 25, 2020
Merged

rpc: unify RPC handlers and metrics #753

merged 14 commits into from
Mar 25, 2020

Conversation

fyrchik
Copy link
Contributor

@fyrchik fyrchik commented Mar 12, 2020

This will make it easier to enable/disable RPC when needed (e.g. getnep5*) and is easier to read.

This is a draft for a discussion.

@codecov
Copy link

codecov bot commented Mar 12, 2020

Codecov Report

Merging #753 into master will decrease coverage by 0.19%.
The diff coverage is 93.26%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #753     +/-   ##
=========================================
- Coverage   66.96%   66.76%   -0.2%     
=========================================
  Files         141      141             
  Lines       13045    12961     -84     
=========================================
- Hits         8735     8653     -82     
+ Misses       3900     3898      -2     
  Partials      410      410
Impacted Files Coverage Δ
pkg/rpc/server/prometheus.go 100% <100%> (ø) ⬆️
pkg/rpc/server/server.go 80.76% <92.22%> (-1.65%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db2c4c7...43495a4. Read the comment docs.

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO that's the last one for #128 and it's good.

@roman-khimov roman-khimov added this to the v0.74.1 milestone Mar 25, 2020
@roman-khimov roman-khimov merged commit b52da3b into master Mar 25, 2020
@roman-khimov roman-khimov deleted the refactoring/rpc branch March 25, 2020 12:33
@roman-khimov roman-khimov mentioned this pull request Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rpc RPC server and client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants