Alex Holliday
dfcb3b4b21
slim check snapshot model/types
2026-08-04 11:27:32 -07:00
Alexander Holliday
ff28e74aca
Merge pull request #3797 from LvckyAPI/fix-incorrect-status
...
Fix monitoring status stuck
2026-07-30 09:44:15 -07:00
Alex Holliday
ed54fa4668
first byte to total repsonse
2026-07-29 12:30:18 -07:00
Iven Schlenther
04f7ef252a
Fix indentation in statusService.ts for isUnknownStatus assignment.
2026-07-27 15:07:00 +02:00
Iven Schlenther
3201653f19
Fix monitor status handling: replace isKnownStatus with isUnknownStatus for clarity and simplify initialization logic.
2026-07-27 15:03:43 +02:00
Iven Schlenther
0988a61c1d
Resolve legacy monitor status issues: handle unknown statuses, fix stuck states from old boolean values, and add regression tests. Adjust BaseChart text color for theme compatibility.
2026-07-27 15:03:41 +02:00
Alex Holliday
ed36db172a
dedupe hardware stat definitions, fix tests, remove misleading null return types
2026-07-24 11:32:00 -07:00
Alex Holliday
c021d04f53
extract swtich
2026-07-24 11:09:53 -07:00
Alex Holliday
4949acac1c
remove unused email templates, remove duplicate constants
2026-07-22 10:26:00 -07:00
Alex Holliday
586e79efb2
remove unused getters
2026-07-22 10:13:37 -07:00
Alex
0df71d6356
use re2 for regex
2026-07-06 09:39:43 -07:00
Alex Holliday
8579edd56e
add a shutdown method to buffer service
2026-06-24 11:58:32 -07:00
Alex Holliday
93b9c5033a
add http metod option, add monitor.method guard to buildResponse
2026-06-22 10:26:10 -07:00
Alex Holliday
85f674ee08
resovle merge conflict
2026-06-19 09:55:52 -07:00
Alex Holliday
a058c0518c
change status on exit maintenance window
2026-06-19 09:37:24 -07:00
Alex Holliday
5efd64d44d
thread prefetched monitor trough status service
2026-06-18 11:05:17 -07:00
Alex Holliday
1ea6dafb1a
evaluate checks on buffer flush
2026-06-18 09:56:38 -07:00
Alex Holliday
2bf3c08f3c
reorg jobqueue to worker
2026-06-10 09:30:14 -07:00
Alex Holliday
d022f7d849
reorg to domain and api
2026-06-09 12:34:15 -07:00
Alexander Holliday
0fb210e9e1
Merge pull request #3713 from Rabson/fix/diagnostics-totalsize-undefined
...
fix: (diagnostics) derive Mongo totalSize when dbStats omits it (Atlas shared tier)
2026-06-09 09:09:47 -07:00
Alexander Holliday
ce4cb63035
Merge pull request #3690 from harsh-aghara/feat/accept-status-codes-backend
...
Add customUpCodes support for HTTP monitors (Backend)
2026-06-08 12:04:42 -07:00
harsh-aghara
f637b01631
refactor: introduced helper method to remove redundant code
2026-06-08 17:30:26 +05:30
Rabson
6a566c3693
fix(diagnostics): derive Mongo totalSize when dbStats omits it
...
MongoDB Atlas shared/free tiers return a legacy dbStats shape that omits
`totalSize` (while still returning storageSize/indexSize). diagnosticService
passed that undefined straight through, so the Diagnostics UI crashed with
"Expected a finite number, got undefined".
Derive totalSize (storageSize + indexSize) at the DB and per-collection level
so it always satisfies the non-optional `totalSize: number` type. Confirmed it
is not a version removal (stock mongo:8 returns totalSize) nor a permissions
issue (missing even with atlasAdmin). Adds unit tests for the derivation.
2026-06-07 08:58:09 +08:00
Alex
395b7fbe2a
add uptimetime stats method and aggregation
2026-06-06 16:08:00 -07:00
Alexander Holliday
8dbe42288b
Merge pull request #3684 from jhcpeixoto/feat/ntfy-notifications
...
feat: add ntfy notification support
2026-06-05 09:35:04 -07:00
harsh-aghara
d2c13fac5a
Merge remote-tracking branch 'upstream/develop' into feat/accept-status-codes-backend
...
# Conflicts:
# server/src/service/infrastructure/network/HttpProvider.ts
2026-06-05 00:58:35 +05:30
harsh-aghara
dd16ac060a
fix: run advanced matcher on HTTP errors with custom up codes
...
When customUpCodes mark an HTTPError as up, parse the response body, apply advancedMatcher.validate, and set status to statusUp && matchResult.ok. Return parsed payload and extracted values to match the success path.
2026-06-05 00:35:30 +05:30
harsh-aghara
5628c202f7
refactor: extract isStatusUp utility to decouple from got's response.ok and modified utils test accordingly
2026-06-04 22:43:43 +05:30
Alex Holliday
174fb048f7
implement pagination, update metrics to use scheduler's aggregation
2026-06-03 13:28:53 -07:00
Alex Holliday
d2d110fcd5
reuse http agent, use firstByte instead of total
2026-06-03 11:48:59 -07:00
harsh-aghara
372fc9869b
refactor(monitor): address PR feedback for customUpCodes
...
Add HttpStatusCode types and simplify provider logic
2026-06-03 23:39:26 +05:30
Alex Holliday
f85f1aa1d1
add processEVery
2026-06-03 11:02:56 -07:00
Alex Holliday
707b8f903b
add bulk ops for inserting monitors, set primary concurrency to 0, handles scheduling only
2026-06-03 11:00:40 -07:00
Alex Holliday
f5a4a03898
reorder stop
2026-06-02 11:31:11 -07:00
Alex Holliday
dfae6c8abd
type metrics for super simple queue
2026-06-02 11:26:10 -07:00
Alex Holliday
b9fd29b906
add compliant worker ID to super simple queue
2026-06-02 11:11:24 -07:00
Alex Holliday
cfed235d1f
add worker stats
2026-06-02 09:47:00 -07:00
Alex Holliday
e37fbf2a5c
replace empty monitor check
2026-06-01 11:11:36 -07:00
Alex Holliday
51672890df
add queue type to less simple queue
2026-06-01 10:44:39 -07:00
harsh-aghara
4e31499f78
feat(backend): add customUpCodes support for HTTP monitors
...
Adds a customUpCodes field to the monitor schema to allow users to specify which HTTP status codes should be treated as UP instead of DOWN. Includes core logic in HttpProvider and unit tests.
Refs #3657
2026-06-01 00:10:55 +05:30
Alex Holliday
c704f67e57
move listener registration to constructor
2026-05-29 11:45:17 -07:00
Alex Holliday
458442f364
fix env sample, fix log queue, use dbType for enum
2026-05-29 11:31:11 -07:00
Alex Holliday
6ddee6e85b
fix imports
2026-05-29 11:23:31 -07:00
Alex Holliday
2db88ac192
add lastRunAt back
2026-05-29 11:20:19 -07:00
Alex Holliday
0342870bbd
lastRunAt -> lastFinishedAT
2026-05-29 11:08:32 -07:00
Alex Holliday
cd91e83817
Remove old queues
2026-05-29 10:28:59 -07:00
Alex Holliday
f476710c29
add queue type to settings service
2026-05-29 10:28:49 -07:00
Alex Holliday
0d255c8962
update imports
2026-05-29 10:28:18 -07:00
Alex Holliday
f1e16b65ee
Extract job queue interfaces, add less simple queue
2026-05-29 10:27:38 -07:00
joaquimpeixoto
8a83bc99e9
feat: add ntfy notification support
2026-05-27 16:57:11 +01:00