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

core: split notarypool and mempool metrics #2969

Merged
merged 2 commits into from
Apr 14, 2023
Merged

core: split notarypool and mempool metrics #2969

merged 2 commits into from
Apr 14, 2023

Conversation

AnnaShaleva
Copy link
Member

Also, do not use metrics for temporary pools created during block/transaction verification.

Close #2950.

@codecov
Copy link

codecov bot commented Apr 13, 2023

Codecov Report

Merging #2969 (3a71aaf) into master (a875409) will increase coverage by 0.07%.
The diff coverage is 84.21%.

@@            Coverage Diff             @@
##           master    #2969      +/-   ##
==========================================
+ Coverage   84.78%   84.86%   +0.07%     
==========================================
  Files         329      328       -1     
  Lines       43034    43039       +5     
==========================================
+ Hits        36485    36523      +38     
+ Misses       5066     5031      -35     
- Partials     1483     1485       +2     
Impacted Files Coverage Δ
pkg/core/mempool/mem_pool.go 97.08% <62.50%> (-0.77%) ⬇️
pkg/consensus/consensus.go 74.89% <100.00%> (ø)
pkg/core/blockchain.go 78.03% <100.00%> (-0.05%) ⬇️
pkg/core/prometheus.go 100.00% <100.00%> (ø)
pkg/network/prometheus.go 93.02% <100.00%> (+0.52%) ⬆️
pkg/network/server.go 75.54% <100.00%> (ø)

... and 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Move them to the core/network packages, close #2950. The name of
mempool's unsorted transactions metrics has been changed along the
way to match the core's metrics naming convention.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@roman-khimov roman-khimov merged commit e0abe2b into master Apr 14, 2023
@roman-khimov roman-khimov deleted the mp-metrics branch April 14, 2023 12:43
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.

Split mempool/notary pool Prometheus metrics
2 participants