Skip to content

Fix middleware#107

Merged
jgrund merged 2 commits into
mainfrom
jgrund/add-middleware
Aug 26, 2025
Merged

Fix middleware#107
jgrund merged 2 commits into
mainfrom
jgrund/add-middleware

Conversation

@jgrund

@jgrund jgrund commented Aug 26, 2025

Copy link
Copy Markdown
Contributor
  • Fix load shed to be global
  • Add response timeout
  • Add compression support

@jgrund jgrund self-assigned this Aug 26, 2025
@jgrund jgrund added the bug Something isn't working label Aug 26, 2025
Comment thread lustrefs-exporter/benches/common/mod.rs Outdated
@codecov

codecov Bot commented Aug 26, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.76%. Comparing base (55190e0) to head (601c39c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   92.76%   92.76%           
=======================================
  Files          43       43           
  Lines        5389     5391    +2     
  Branches     5389     5391    +2     
=======================================
+ Hits         4999     5001    +2     
  Misses        326      326           
  Partials       64       64           
Flag Coverage Δ
2_14_0_ddn133 36.10% <ø> (ø)
2_14_0_ddn145 37.18% <ø> (ø)
all-tests 92.76% <100.00%> (+<0.01%) ⬆️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Aug 26, 2025

Copy link
Copy Markdown

🐰 Bencher Report

Branchjgrund/add-middleware
Testbedci-runner

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
Benchmarkavg_runtime_rss_mibMeasure (MiB)avg_runtime_virtual_mibMeasure (MiB) x 1e3end_rss_mibMeasure (MiB)end_virtual_mibMeasure (MiB) x 1e3memory_growth_mibMeasure (MiB)peak_over_start_rss_ratioMeasure (units)peak_over_start_virtual_ratioMeasure (units)peak_rss_mibBenchmark Result
Measure (MiB)
(Result Δ%)
Lower Boundary
Measure (MiB)
(Limit %)
Upper Boundary
Measure (MiB)
(Limit %)
peak_virtual_mibMeasure (MiB) x 1e3start_rss_mibMeasure (MiB)start_virtual_mibMeasure (MiB) x 1e3virtual_growth_mibMeasure (MiB)
scrape_allocations📈 view plot
⚠️ NO THRESHOLD
93.51 MiB📈 view plot
⚠️ NO THRESHOLD
1.33 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
93.95 MiB📈 view plot
⚠️ NO THRESHOLD
1.33 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
5.67 MiB📈 view plot
⚠️ NO THRESHOLD
1.92 units📈 view plot
⚠️ NO THRESHOLD
1.23 units📈 view plot
🚷 view threshold
96.67 MiB
(+1.15%)Baseline: 95.57 MiB
93.26 MiB
(96.48%)
97.87 MiB
(98.77%)
📈 view plot
⚠️ NO THRESHOLD
1.33 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
88.28 MiB📈 view plot
⚠️ NO THRESHOLD
1.26 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
66.02 MiB
🐰 View full continuous benchmarking report in Bencher

@github-actions

github-actions Bot commented Aug 26, 2025

Copy link
Copy Markdown

🐰 Bencher Report

Branchjgrund/add-middleware
Testbedci-runner

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
Benchmarkavg_runtime_rss_mibMeasure (MiB)avg_runtime_virtual_mibMeasure (MiB) x 1e3end_rss_mibMeasure (MiB)end_virtual_mibMeasure (MiB) x 1e3memory_growth_mibMeasure (MiB)peak_over_start_rss_ratioMeasure (units)peak_over_start_virtual_ratioMeasure (units)peak_rss_mibBenchmark Result
Measure (MiB)
(Result Δ%)
Lower Boundary
Measure (MiB)
(Limit %)
Upper Boundary
Measure (MiB)
(Limit %)
peak_virtual_mibMeasure (MiB) x 1e3start_rss_mibMeasure (MiB)start_virtual_mibMeasure (MiB) x 1e3virtual_growth_mibMeasure (MiB)
scrape_allocations📈 view plot
⚠️ NO THRESHOLD
92.52 MiB📈 view plot
⚠️ NO THRESHOLD
1.38 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
93.17 MiB📈 view plot
⚠️ NO THRESHOLD
1.38 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
5.57 MiB📈 view plot
⚠️ NO THRESHOLD
1.94 units📈 view plot
⚠️ NO THRESHOLD
1.23 units📈 view plot
🚷 view threshold
95.29 MiB
(+0.19%)Baseline: 95.11 MiB
94.58 MiB
(99.25%)
95.64 MiB
(99.64%)
📈 view plot
⚠️ NO THRESHOLD
1.40 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
87.59 MiB📈 view plot
⚠️ NO THRESHOLD
1.31 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
70.14 MiB
🐰 View full continuous benchmarking report in Bencher

Joe Grund added 2 commits August 26, 2025 14:34
- Fix load shed to be global
- Add response timeout
- Add compression support

Signed-off-by: Joe Grund <jgrund@whamcloud.io>
@jgrund jgrund force-pushed the jgrund/add-middleware branch from c8ee605 to 601c39c Compare August 26, 2025 18:34
@github-actions

Copy link
Copy Markdown

🐰 Bencher Report

Branchjgrund/add-middleware
Testbedci-runner
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Lower Boundary
milliseconds (ms)
(Limit %)
Upper Boundary
milliseconds (ms)
(Limit %)
jobstats otel 100📈 view plot
🚷 view threshold
1.68 ms
(+1.60%)Baseline: 1.65 ms
1.61 ms
(96.28%)
1.69 ms
(99.43%)
jobstats otel 1000📈 view plot
🚷 view threshold
15.41 ms
(+0.55%)Baseline: 15.32 ms
15.20 ms
(98.66%)
15.45 ms
(99.76%)
🐰 View full continuous benchmarking report in Bencher

@github-actions

Copy link
Copy Markdown

🐰 Bencher Report

Branchjgrund/add-middleware
Testbedci-runner

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
BenchmarkD1 Miss Ratemisses (%)D1mrmisses (reads) x 1e3D1mwmisses (writes) x 1e3DLmrmisses (reads)DLmwmisses (writes) x 1e3Drreads x 1e6Dwwrites x 1e6Estimated Cyclescycles x 1e6I1 Miss Ratemisses (%)I1mrmisses (reads) x 1e3ILmrmisses (reads) x 1e3InstructionsBenchmark Result
instructions x 1e6
(Result Δ%)
Lower Boundary
instructions x 1e6
(Limit %)
Upper Boundary
instructions x 1e6
(Limit %)
L1 Hit Ratehits (%)L1 Hitshits x 1e6LL Hit Ratehits (%)LL Hitshits x 1e3LL Miss Ratemisses (%)LLd Miss Ratemisses (%)LLi Miss Ratemisses (%)RAM Hit Ratehits (%)RAM Hitshits x 1e3Total read+writereads/writes x 1e6
lustre_metrics::memory_benches::bench_encode_lustre_metrics with_setup:generate_records()📈 view plot
⚠️ NO THRESHOLD
1.50 %📈 view plot
⚠️ NO THRESHOLD
117.98 reads x 1e3📈 view plot
⚠️ NO THRESHOLD
42.80 writes x 1e3📈 view plot
⚠️ NO THRESHOLD
133.00 reads📈 view plot
⚠️ NO THRESHOLD
31.06 writes x 1e3📈 view plot
⚠️ NO THRESHOLD
6.18 x 1e6📈 view plot
⚠️ NO THRESHOLD
4.53 x 1e6📈 view plot
⚠️ NO THRESHOLD
40.15 x 1e6📈 view plot
⚠️ NO THRESHOLD
0.02 %📈 view plot
⚠️ NO THRESHOLD
4.63 reads x 1e3📈 view plot
⚠️ NO THRESHOLD
2.46 reads x 1e3📈 view plot
🚷 view threshold
27.77 x 1e6
(-0.09%)Baseline: 27.80 x 1e6
27.75 x 1e6
(99.92%)
27.84 x 1e6
(99.74%)
📈 view plot
⚠️ NO THRESHOLD
99.57 %📈 view plot
⚠️ NO THRESHOLD
38.31 x 1e6📈 view plot
⚠️ NO THRESHOLD
0.34 %📈 view plot
⚠️ NO THRESHOLD
131.76 x 1e3📈 view plot
⚠️ NO THRESHOLD
0.09 %📈 view plot
⚠️ NO THRESHOLD
0.29 %📈 view plot
⚠️ NO THRESHOLD
0.01 %📈 view plot
⚠️ NO THRESHOLD
0.09 %📈 view plot
⚠️ NO THRESHOLD
33.66 x 1e3📈 view plot
⚠️ NO THRESHOLD
38.48 x 1e6
🐰 View full continuous benchmarking report in Bencher

@github-actions

Copy link
Copy Markdown

🐰 Bencher Report

Branchjgrund/add-middleware
Testbedci-runner

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
Benchmarkavg_runtime_rss_mibMeasure (MiB)avg_runtime_virtual_mibMeasure (MiB) x 1e3end_rss_mibMeasure (MiB)end_virtual_mibMeasure (MiB) x 1e3memory_growth_mibMeasure (MiB)peak_over_start_rss_ratioMeasure (units)peak_over_start_virtual_ratioMeasure (units)peak_rss_mibBenchmark Result
Measure (MiB)
(Result Δ%)
Lower Boundary
Measure (MiB)
(Limit %)
Upper Boundary
Measure (MiB)
(Limit %)
peak_virtual_mibMeasure (MiB) x 1e3start_rss_mibMeasure (MiB)start_virtual_mibMeasure (MiB) x 1e3virtual_growth_mibMeasure (MiB)
scrape_allocations📈 view plot
⚠️ NO THRESHOLD
92.89 MiB📈 view plot
⚠️ NO THRESHOLD
1.29 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
93.55 MiB📈 view plot
⚠️ NO THRESHOLD
1.29 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
5.77 MiB📈 view plot
⚠️ NO THRESHOLD
1.88 units📈 view plot
⚠️ NO THRESHOLD
1.22 units📈 view plot
🚷 view threshold
98.73 MiB
(+3.29%)Baseline: 95.58 MiB
92.07 MiB
(93.25%)
99.10 MiB
(99.62%)
📈 view plot
⚠️ NO THRESHOLD
1.40 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
87.78 MiB📈 view plot
⚠️ NO THRESHOLD
1.22 MiB x 1e3📈 view plot
⚠️ NO THRESHOLD
70.15 MiB
🐰 View full continuous benchmarking report in Bencher

@jgrund jgrund merged commit a678244 into main Aug 26, 2025
19 checks passed
@jgrund jgrund deleted the jgrund/add-middleware branch August 26, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant