Christy Jacob
10722aa736
chore: cleanup obsolete tasks and workers
2024-05-16 07:11:00 +00:00
Eldad Fux
beda5293b4
Fix format
2024-04-01 13:08:46 +02:00
Eldad Fux
8ed1da4ea8
Updated getEnv to use system lib
2024-04-01 13:02:47 +02:00
Torsten Dittmann
b8b3a69a55
fix: specs
2024-03-08 10:28:25 +01:00
Torsten Dittmann
dfef0e732c
sync: main -> 1.5.x
2024-03-07 17:16:39 +01:00
Torsten Dittmann
b8b1d8629f
fix: tests
2024-03-05 11:09:19 +01:00
Torsten Dittmann
a53e630536
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x-2
2024-03-05 10:31:51 +01:00
Christy Jacob
7ae09ba795
Revert "Revert "usage/usage-dump queue health endpoints""
2024-02-25 13:42:28 +05:30
Khushboo Verma
141cdf4c82
Fix content-type of file
2024-02-23 20:10:25 +05:30
Christy Jacob
a8098831a3
Revert "usage/usage-dump queue health endpoints"
2024-02-22 12:21:48 +05:30
Christy Jacob
3f5e40ad46
Merge pull request #7591 from appwrite/feat-storage-health-check
...
Add storage health check
2024-02-22 12:16:10 +05:30
Jake Barnby
379c79dae9
Consistent naming for device resources
2024-02-21 03:10:51 +13:00
shimon
1577be9172
usage/usage-dump queue health endpoints
2024-02-19 21:36:14 +02:00
Khushboo Verma
e4a86d9777
Remove global function
2024-02-19 09:19:54 +05:30
Khushboo Verma
3b1233eaa9
Add deviceFunctions and deviceBuilds as well
2024-02-18 18:28:41 +05:30
Khushboo Verma
00db19257d
Add health storage check
2024-02-15 11:57:24 +05:30
Jake Barnby
37522ea66f
Merge branch '1.5.x' into fix-catch-exception
2024-02-13 12:47:36 +13:00
Jake Barnby
18f7168160
Merge main
2024-02-12 14:18:19 +13:00
Christy Jacob
ba4f708137
Apply suggestions from code review
...
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2024-02-08 23:26:43 +05:30
Christy Jacob
243ddd4b33
Merge pull request #7519 from appwrite/update-param-name
...
Update param name
2024-02-08 12:55:19 +05:30
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
...
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:
} catch (\Exception $e) {
$deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {
As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Khushboo Verma
fb127270ce
Add test for empty domain
2024-02-06 16:04:58 +05:30
Khushboo Verma
11ceeff5ca
Add health certificate validity endpoint
2024-02-06 15:15:03 +05:30
Christy Jacob
3c7fae7843
chore: update param name
2024-01-30 08:10:13 +00:00
Christy Jacob
91e625cfc2
chore: linter
2024-01-26 18:04:06 +00:00
Bradley Schofield
126c3a38de
Add threshold
2024-01-26 15:55:55 +00:00
Bradley Schofield
772d42cef8
Update health.php
2024-01-26 09:52:41 +00:00
Bradley Schofield
e2c05fea8c
Update health.php
2024-01-26 09:42:21 +00:00
Bradley Schofield
73b1837d66
Remove HealthFailedJobs Model
2024-01-26 09:41:30 +00:00
Bradley Schofield
47af19dd17
Update app/controllers/api/health.php
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-25 10:21:52 +00:00
Bradley Schofield
867bc0281c
Update health.php
2024-01-24 17:48:27 +00:00
Bradley Schofield
d3b8ce704e
Add failed queue endpoint
2024-01-18 16:18:49 +00:00
Khushboo Verma
7902defe69
Addressed PR comments
2023-11-17 19:29:57 +05:30
Khushboo Verma
c34dc4dae0
Add flag to send logs to logger
2023-11-16 23:51:09 +05:30
Matej Bačo
967854d34a
Fix grammar
2023-11-13 14:39:33 +01:00
Matej Bačo
a029287e5a
Implement health tresholds
2023-11-13 14:07:11 +01:00
Christy Jacob
d33b8c2ce1
Merge branch '1.4.x' into fix-null-password-history
2023-11-09 07:44:44 -08:00
shimon
dd9d8010c1
db health api throws an error when ping fails
2023-11-08 15:20:50 +02:00
Steven Nguyen
9f7bbe4869
Fix the Health service's get X queue endpoints
...
Before this, the endpoints called $client->sumProcessingJobs() which
only gets the currently processing jobs, but this endpoint should return
what's currently in queue, pending to be processed. This should be
retrieved using $client->getQueueSize().
2023-11-03 16:57:30 +00:00
Christy Jacob
18dc8749d5
chore: update health API
2023-10-19 09:25:38 +00:00
Steven Nguyen
1d7c9d84d2
Fix get database queue endpoint params
...
A path param cannot be optional so change it to a query param.
2023-10-18 17:42:27 -07:00
Christy Jacob
3d7cd91176
chore: fix injections
2023-10-18 19:54:56 +00:00
Christy Jacob
be26e4b729
chore: remove resque library and update health check endpoints
2023-10-18 19:44:06 +00:00
Christy Jacob
9fa93e0449
chore: review comments
2023-09-27 22:13:03 +00:00
Matej Bačo
e58bf7f695
Rename audits back to logs
2023-09-27 21:24:56 +00:00
Matej Bačo
5120152369
Add all worker health endpoints
2023-09-27 21:24:41 +00:00
Vincent (Wen Yu) Ge
86f0e6008c
Merge branch 'master' into sentence-case
2023-09-27 11:11:58 -04:00
Dakshi
16a2135d4a
updated based on review
2023-08-02 02:19:20 +05:30
Dakshi
12228ccef4
converted desc to sentence case
2023-08-01 20:56:48 +05:30
Matej Baco
91de1cbcf3
Fix bug
2022-11-18 15:22:46 +01:00