hyperledger / caliper

A blockchain benchmark framework to measure performance of multiple blockchain solutions https://wiki.hyperledger.org/display/caliper
https://hyperledger.github.io/caliper/
Apache License 2.0
650 stars 402 forks source link

Add TxObserver for Prometheus manager #1448

Closed CaptainIRS closed 1 year ago

CaptainIRS commented 1 year ago

In this PR:

PR 1/n for #1353

codecov[bot] commented 1 year ago

Codecov Report

Merging #1448 (4fc70d1) into main (e504bee) will increase coverage by 0.33%. The diff coverage is 82.14%.

@@            Coverage Diff             @@
##             main    #1448      +/-   ##
==========================================
+ Coverage   55.56%   55.89%   +0.33%     
==========================================
  Files         103      105       +2     
  Lines        4451     4507      +56     
  Branches      676      688      +12     
==========================================
+ Hits         2473     2519      +46     
  Misses       1435     1435              
- Partials      543      553      +10     
Flag Coverage Δ
caliper-core 44.98% <82.14%> (+0.67%) :arrow_up:
caliper-fabric 80.46% <ø> (ø)
generator-caliper 83.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/caliper-core/lib/common/config/Config.js 73.91% <ø> (ø)
...ker/tx-observers/prometheus-manager-tx-observer.js 80.76% <80.76%> (ø)
...r-core/lib/common/messages/workerMetricsMessage.js 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.