You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: upload-test incorrectly reports metrics as offline #163
Thank you for reporting this issue and pinpointing the root cause!
Root Cause & Resolution (Commit 1f6ac17)
Corrected the function call in run_upload_test() from fetch_metrics to _fetch_metrics.
The live ingress vs. egress ratio audit in mtproxymax upload-test now correctly retrieves Prometheus metrics from the running engine without reporting Metrics offline (proxy container stopped).
Added regression unit test coverage in tests/test_upload_diagnostics.sh for both active and offline metric states (all 11 assertions passing).
Closing as resolved. To receive the fix, update your script with:
Activity
fix(diagnostics): resolve _fetch_metrics in upload-test (#163)
SamNet-dev commentedon Nov 8, 2026
Hello @avmaksimov,
Thank you for reporting this issue and pinpointing the root cause!
Root Cause & Resolution (Commit
1f6ac17)run_upload_test()fromfetch_metricsto_fetch_metrics.mtproxymax upload-testnow correctly retrieves Prometheus metrics from the running engine without reportingMetrics offline (proxy container stopped).tests/test_upload_diagnostics.shfor both active and offline metric states (all 11 assertions passing).Closing as resolved. To receive the fix, update your script with: