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
fix(observability): fix top performers data loss, dead guards, display bugs, and response time unit conversion (#3794)
* fix metrics top performers panel data loss, dead guards, and display bugs
Signed-off-by: Shoumi <shoumimukherjee@gmail.com>
* convert avg_response_time seconds to ms in admin.js KPI and metrics cards
Signed-off-by: Shoumi <shoumimukherjee@gmail.com>
* update vitest assertions and prettier formatting for avg_response_time ms conversion
Signed-off-by: Shoumi <shoumimukherjee@gmail.com>
* fix: remove dead code from createPerformanceCard, fix CSV zero-value bug, add differential tests
- Remove unreachable avgResponseTime/lastExecutionTime branches from
createPerformanceCard (its metrics list only has memory/CPU/disk/network keys)
- Fix CSV export treating avg_response_time=0 as N/A by using != null
instead of truthiness check, consistent with table rendering
- Fix trailing whitespace in updateTableRows
- Update modularized test assertion for ×1000 conversion (150 → 150000)
- Add JS tests for createMetricsCard: seconds→ms conversion, ISO datetime
formatting, null handling, zero-value preservation
- Add Python test verifying build_top_performers preserves 0.0 values
Closes#3793, Closes#3580
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
---------
Signed-off-by: Shoumi <shoumimukherjee@gmail.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
Co-authored-by: Mihai Criveti <crivetimihai@gmail.com>
0 commit comments