Commit Graph

91 Commits

Author SHA1 Message Date
Alex Holliday 9edf5ba9f9 Refactor 2024-09-04 11:02:18 -07:00
Alex Holliday e22e374eef Added avgResponseTime to monitor stats, changed date grouping for aggregate stats 2024-09-03 20:28:12 -07:00
Alex Holliday 34ce3af412 Add 7 days uptime percentage stat 2024-09-03 15:04:29 -07:00
Alex Holliday 64fe1a3af5 Return raw value instead of formatted string 2024-09-03 14:52:00 -07:00
Alex Holliday 99b4da347f remove space 2024-09-03 14:47:37 -07:00
Alex Holliday bc0df325d1 Add route, controller, db operations, and validation for aggregate monitor stats 2024-09-03 14:39:16 -07:00
Alex Holliday 8ac53a9e16 Add safety check for monitor 2024-08-31 16:48:02 -07:00
Alex Holliday 68b50a3059 Update getMonitorsByTeamid to use attached notifications 2024-08-30 18:00:04 -07:00
Alex Holliday 7e90b5f48b Notifications added to monitor object 2024-08-30 13:03:59 -07:00
Alex Holliday 233be4cbda Add notifications to single monitor 2024-08-30 10:46:51 -07:00
Alex Holliday 17174ebe14 Add pause routes and controller, implement functionality 2024-08-28 15:21:59 -07:00
Alexander Holliday add7756095 Update monitorModule.js 2024-08-27 15:33:43 -07:00
Alex Holliday 465c1f9f9e Refactor getMonitorByUserID to getMonitorByTeamID 2024-08-26 19:38:24 -07:00
Alex Holliday e658b4759a Add teamID to monitor on creation 2024-08-26 19:25:19 -07:00
Alexander Holliday 3ca76f9b48 Merge pull request #673 from bluewave-labs/fix/be/normalization
Parsed mongo doc correctly in Normalization function, resolves #672
2024-08-19 19:06:52 -07:00
Alexander Holliday 4754a056fe Merge branch 'develop' into fix/safe-data-access 2024-08-19 19:06:30 -07:00
Alex Holliday 0ac2492e70 Add safe data access to monitorDetails 2024-08-19 13:33:50 -07:00
Alex Holliday 6d3ed27f31 Parsed mongo doc correctly in Normalization function 2024-08-19 10:02:12 -07:00
Alex Holliday 6d99002fd1 Finish refactoring auth slice, fixed several bugs 2024-08-17 20:23:34 -07:00
Alexander Holliday 0e3da7e17e Merge pull request #628 from bluewave-labs/fix/decouple-notifications
Refactored notifications from Check model to NetworkService, resolves #627
2024-08-14 14:14:51 -07:00
Alex Holliday 809e6ee58f Refactored notifications from Check model to NetworkService 2024-08-14 10:20:35 -07:00
Alex Holliday ac5385746a Justified URL, added placeholders 2024-08-13 15:54:23 -07:00
Alex Holliday 801f962af9 Add empty checks if there are less than 60 mins worth of cehcks 2024-08-13 15:33:07 -07:00
Alex Holliday 7336287a9c implement 60 min history chart 2024-08-13 12:36:19 -07:00
Alex Holliday 578eb33b91 Refactored getMonitorStats for clarity 2024-08-13 10:32:29 -07:00
Alex Holliday 9c980c103a Fixed spelling error, moved incident calculation to correct location 2024-08-12 15:39:48 -07:00
Alexander Holliday 25604e5467 Merge branch 'develop' into fix/spelling-error 2024-08-12 15:27:06 -07:00
M M 016a76b78f Fix spelling. 2024-08-12 15:07:03 -07:00
Alex Holliday e0073aa36e Refactor pagespeed details to use stats endpoint 2024-08-12 13:47:02 -07:00
Alex Holliday d7251bfd81 Refactored monitor details 2024-08-12 12:05:57 -07:00
Alex Holliday fc72bb868d removed console log 2024-08-08 22:29:35 -07:00
Alex Holliday f847bfc920 Fixed an evaluation error in getMonitorsByUserId and fixed a logical error in getMonitorById 2024-08-08 22:24:58 -07:00
Alex Holliday 51058b6d2b Moved normalization to BE 2024-08-08 11:20:54 -07:00
Alexander Holliday 7928bd7822 Merge pull request #568 from bluewave-labs/feat/monitor-details-performance
Prep monitor details page for #567
2024-08-08 11:03:06 -07:00
Alex Holliday 75a897716f Add notifcations to getMonitorById as well 2024-07-31 20:22:11 -07:00
Alex Holliday b126830110 Add notifications to monitors before returning 2024-07-31 20:20:04 -07:00
Alex Holliday 76f4143097 Notifications removed and readded on monitor edit 2024-07-31 13:59:14 -07:00
Alex Holliday 905d6ed658 remove delete, use undefined instead 2024-07-31 12:27:40 -07:00
Alex Holliday 09edaebd98 Implement inserting notifications when a monitor is created, update validation 2024-07-31 12:12:05 -07:00
Alexander Holliday 477cad7cc9 Feat/monitor endpoint refactor (#463)
* Moved all methods to modules

* removed old mongoDB file

* Refactored endpoints to take query params, removed duplicate methods, updated routes, updated Client queries

* Added comment

* Add model differentiation

* Add sort order, fix minor bug, add validation for query params
2024-07-26 18:56:39 -07:00
Alexander Holliday e47d3685ce Moved all methods to modules (#460)
* Moved all methods to modules

* removed old mongoDB file
2024-07-26 18:25:20 -07:00