Commit Graph

117 Commits

Author SHA1 Message Date
Alex Holliday 2694f836c7 fix destructuring 2025-01-08 10:17:51 -08:00
Alex Holliday 35796dccd4 add normalize check 2025-01-08 10:06:50 -08:00
Alex Holliday ef56283fa9 Fix merge conflict, remove unused dispatch 2025-01-08 10:05:34 -08:00
Alex Holliday 0b803da5fb rewrite query to use aggregation pipeline 2025-01-07 16:27:35 -08:00
Alex Holliday 741f0d1884 Merge branch 'develop' into fix/fe/uptime-home 2025-01-07 12:05:19 -08:00
Alex Holliday e2d5388a30 remove monitors from summary, unused 2025-01-07 10:12:41 -08:00
Alex Holliday ca42e2608f Fix incorrect uptime check count, refactor out query pipelines 2025-01-06 14:24:08 -08:00
Alexander Holliday 25fd0f7055 Merge branch 'develop' into feat/be/hardware-details 2025-01-02 09:58:19 -08:00
Alexander Holliday f958424793 Merge pull request #1497 from bluewave-labs/feat/fe/uptime-details
feat: fe/uptime details
2025-01-02 09:57:30 -08:00
Alex Holliday b332bed14e modify date format to ISO standard, remove toTimeStamp method 2025-01-01 17:27:12 -08:00
Alex Holliday 86d11c7277 remove console.log 2025-01-01 17:11:26 -08:00
Alex Holliday a3518e4462 add missing date range, add date range lookup 2024-12-31 20:00:02 -08:00
Alex Holliday cb425b2b3b Merge branch 'develop' into feat/be/hardware-details 2024-12-31 17:39:19 -08:00
Alex Holliday 2d9b4eaab6 write hardware monitor query 2024-12-31 17:39:02 -08:00
Alexander Holliday 350e560079 Merge pull request #1481 from bluewave-labs/fix/be/db-indices
fix: be/db indices
2024-12-31 17:38:29 -08:00
Alex Holliday 2a41642be7 add two mising date clauses to details query 2024-12-31 16:40:44 -08:00
Alex Holliday 247bf44406 begin implementing aggregate query 2024-12-31 15:05:14 -08:00
Alex Holliday a466e91a45 remove old query 2024-12-31 13:46:56 -08:00
Alex Holliday bbae5052c8 Add group checks to DB query 2024-12-31 13:42:25 -08:00
Alex Holliday 7f601b1e11 rebuild query 2024-12-31 11:43:04 -08:00
Alex Holliday 6f96e77fec modify query 2024-12-30 22:23:46 -08:00
Alex Holliday d574faa7d8 Add groupUpChecks and groupDownChecks 2024-12-30 19:49:09 -08:00
Alex Holliday 107540b2a8 FE refactor 2024-12-30 16:07:28 -08:00
Alex Holliday 5391145a9a Add aggregate queries for uptime monitor stats 2024-12-30 14:57:19 -08:00
Alex Holliday 0b5594f9c9 force index usage for getMonitorStatsById 2024-12-28 09:37:00 -08:00
Alex Holliday 004184b0f4 add port types to monitor operations on BE 2024-12-27 11:16:09 -08:00
Alex Holliday ec1563bba2 Add parameter for date ranges to return all checks 2024-11-22 09:49:32 +08:00
Alex Holliday 9db3e0e6df Add docker type to getMonitorStatsById 2024-11-13 15:37:40 +08:00
Alex Holliday 20d84e0a18 Add docker to check map 2024-11-13 15:34:31 +08:00
Alexander Holliday ddb40bb56b Merge pull request #1117 from bluewave-labs/feat/be/uptime-percentage-stats
Feat/be/uptime percentage stats, references #1115
2024-11-07 18:30:18 -08:00
Alexander Holliday 605ec393f0 Merge pull request #1114 from bluewave-labs/feat/be/monitor-module-refactor
Feat/be/monitor module refactor
2024-11-07 18:29:41 -08:00
Alex Holliday 5129aca6c2 Fix typo in monitor type lookup 2024-11-08 09:46:30 +08:00
Alex Holliday 91bacf976e isNaN -> Number.isNaN 2024-11-07 11:05:48 +08:00
Alex Holliday 33e88642b3 Add db method for getAllMonitorsWithUptimeStats 2024-11-06 11:17:08 +08:00
Alex Holliday abdd51802a remove redundant checks and console.log 2024-11-06 10:38:04 +08:00
Alex Holliday 53fb79bbfb Add tests for monitor module 2024-11-05 16:03:37 +08:00
Alex Holliday f3ec84d36f Refactor for robustness 2024-11-05 14:09:32 +08:00
Alex Holliday 0fd84d5ad8 Fix spelling error, export functions, refactor to inject for ease of testing 2024-11-05 13:50:46 +08:00
Alex Holliday 8605b068ce Refactor for robustness 2024-11-05 13:36:31 +08:00
Alex Holliday 4ca3e3211f Export helper methods, add safe return to 2024-11-05 13:31:10 +08:00
Alex Holliday 2873f68868 reactor getMonitorsByTeamId for clarity 2024-11-05 12:39:35 +08:00
Alex Holliday 4601f95686 refactor getMonitorById for clarity 2024-11-05 12:27:13 +08:00
Alex Holliday b5e8bdbdcd fix conditional inloop for uptime duration 2024-11-05 12:22:48 +08:00
Alex Holliday 401c3b83fe Refactor getMonitorStatsById for clarity 2024-11-05 12:08:19 +08:00
Alex Holliday e36abfb9df Minor refactoring in DB modules for readability 2024-11-03 11:48:27 +08:00
Alex Holliday 8730ee9de2 Fix concurrency error with updating monitor, uncomment out code in pageSpeedMonitorSlice 2024-10-28 15:37:21 +08:00
Alex Holliday bbcdc2f2a2 Add status 404 to getMonitorById error at DB level 2024-10-24 11:42:53 +08:00
Alex Holliday fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday f057807b56 migrate to esm 2024-10-15 11:57:37 +08:00
Alex Holliday c1d1e0ad1d Refactor for clarity and correctness, add JS docs 2024-10-01 10:55:51 +08:00