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

feat: improved load-test-metrics #3717

Merged
merged 1 commit into from Nov 26, 2023

Conversation

douglaz
Copy link
Contributor

@douglaz douglaz commented Nov 24, 2023

  • Segregate gateway_payment_received_success and gateway_pay_invoice_success to detect asymmetries between receiving and sending payments
  • Change gateway_payment_received_started_{method} to gateway_{gateway_name}_payment_received_started to make sure all the metrics use the same convention of referring to the gateway that is receiving/sending the payment
  • Sort metrics output based on metric name

@douglaz douglaz requested a review from a team as a code owner November 24, 2023 22:00
Copy link

codecov bot commented Nov 24, 2023

Codecov Report

Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (77efc2b) 57.75% compared to head (2460b11) 57.64%.
Report is 2 commits behind head on master.

Files Patch % Lines
fedimint-load-test-tool/src/main.rs 0.00% 19 Missing ⚠️
devimint/src/main.rs 0.00% 7 Missing ⚠️
fedimint-load-test-tool/src/common.rs 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3717      +/-   ##
==========================================
- Coverage   57.75%   57.64%   -0.11%     
==========================================
  Files         193      193              
  Lines       41929    41943      +14     
==========================================
- Hits        24216    24179      -37     
- Misses      17713    17764      +51     

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

@@ -1191,18 +1195,15 @@ async fn handle_metrics_summary(
.await?,
))
}

let mut results = HashMap::new();
let mut results = BTreeMap::new();
Copy link
Contributor

Choose a reason for hiding this comment

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

Thx! The ordering being inconsistent was quite annoying xD

@douglaz douglaz added this pull request to the merge queue Nov 26, 2023
Merged via the queue into fedimint:master with commit e50d7e7 Nov 26, 2023
20 checks passed
@douglaz douglaz deleted the improved_load_test_metrics branch November 26, 2023 19:20
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.

None yet

2 participants