Commit graph

1477 commits

Author SHA1 Message Date
Damodar Lohani
503b8a0cde spacing 2025-02-13 04:58:14 +00:00
Damodar Lohani
745947621f Feat: count for targets 2025-02-13 04:54:29 +00:00
Damodar Lohani
29ffd703db
Merge branch '1.6.x' into feat-remove-deprecated-usage-stuff 2025-02-13 06:28:48 +05:45
Christy Jacob
88c2fe2dd2
Merge pull request #9347 from appwrite/update-audit-logging
feat: batch create abuse logs
2025-02-12 22:35:34 +05:30
Christy Jacob
9989137ed4 chore: use private variables for aggregation 2025-02-12 22:01:28 +05:30
Christy Jacob
933e762284
Merge pull request #9332 from appwrite/PLA-896
feat(builds): check if function is blocked before building
2025-02-12 21:23:10 +05:30
Jake Barnby
2e3a1cf82c
Merge branch '1.6.x' into feat-key-segmented-usage 2025-02-13 01:30:51 +13:00
Jake Barnby
6dbc8c5464
Allow disabling specific metrics in hooks via keys 2025-02-13 00:19:51 +13:00
Damodar Lohani
d2cc5ea932 Fix: missing periodic metric 2025-02-12 10:58:51 +00:00
Christy Jacob
2dffcb29b0 chore: add comment about the unit 2025-02-12 13:09:31 +05:30
Christy Jacob
294f6818fa chore: review comments 2025-02-12 12:23:20 +05:30
Christy Jacob
48525ce755 chore: linter 2025-02-12 11:34:39 +05:30
Christy Jacob
978284b36f feat: use smaller batch size on development environments 2025-02-12 11:33:17 +05:30
Christy Jacob
7f706fce5d feat: linter & console logs 2025-02-12 11:09:24 +05:30
Christy Jacob
df27e8950b feat: update composer 2025-02-12 11:02:29 +05:30
Christy Jacob
00473d4744 feat: batch create abuse logs 2025-02-12 10:57:43 +05:30
Jake Barnby
da2e27650c
Merge remote-tracking branch 'origin/1.6.x' into feat-key-segmented-usage 2025-02-12 18:20:28 +13:00
Jake Barnby
e394532bcd
Fix drop abuse on shared table project delete 2025-02-12 17:03:37 +13:00
Christy Jacob
2189ca1469 chore: linter 2025-02-11 16:40:17 +00:00
Damodar Lohani
f6aff786f1
Fix: missing call for image transformations counting 2025-02-11 17:59:48 +05:45
Fabian Gruber
8324b789c5 chore(review): remove http status codes from exceptions 2025-02-11 11:00:28 +01:00
Fabian Gruber
f2ae6e07cb feat(builds): check if function is blocked before building 2025-02-11 10:45:26 +01:00
Jake Barnby
bed7ab321e
Add unit test 2025-02-11 22:02:20 +13:00
Jake Barnby
1c91604c80
Only disable database reads/writes and network stats 2025-02-11 20:56:39 +13:00
Damodar Lohani
940f4d12af Remove usage and usage dump in favor of stats-usage and stats-usage-dump 2025-02-11 07:52:37 +00:00
Chirag Aggarwal
5076303c33 chore: refactor realtime queueing in builds worker 2025-02-11 06:06:43 +00:00
Chirag Aggarwal
532160705f chore: refactor realtime queueing in functions worker 2025-02-11 05:50:30 +00:00
Chirag Aggarwal
f666e18154 chore: fix databases worker realtime queueing 2025-02-11 05:00:45 +00:00
Jake Barnby
30bc70b9b1
Abstract key decoding and check if usage is enabled 2025-02-11 17:49:22 +13:00
Chirag Aggarwal
bcdae7f4e3 chore: refactor certificate realtime, fix database 2025-02-11 04:21:36 +00:00
Chirag Aggarwal
47fbb777ed chore: refactor migrations realtime queue 2025-02-11 04:03:02 +00:00
Chirag Aggarwal
2c4c42de05 docs: fix database worker 2025-02-11 03:53:18 +00:00
Chirag Aggarwal
375f643214 refactor: triggering realtime events with queueForRealtime 2025-02-11 03:29:32 +00:00
Christy Jacob
bfc0b53163 chore: add simple toggle for dual writing 2025-02-10 23:05:34 +05:30
Damodar Lohani
e8faf2a859 fix worker 2025-02-09 08:52:07 +00:00
Damodar Lohani
55e30a0ef4
Update src/Appwrite/Platform/Workers/StatsUsageDump.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2025-02-09 12:19:16 +05:45
Damodar Lohani
abd899186d Merge remote-tracking branch 'origin/1.6.x' into feat-logs-db 2025-02-09 05:20:10 +00:00
Damodar Lohani
59516408af revert env update 2025-02-09 05:15:26 +00:00
Fabian Gruber
273ea0abcc fix(schedule-tasks): revert back to direct pool usage 2025-02-06 13:18:18 +01:00
Damodar Lohani
cd45177558 fix pool empty 2025-02-06 08:06:15 +00:00
Damodar Lohani
c48146b699 fix builds worker 2025-02-06 06:05:53 +00:00
Damodar Lohani
0a6ebe6661 Merge remote-tracking branch 'origin/1.6.x' into feat-logs-db 2025-02-06 04:40:05 +00:00
Damodar Lohani
ae9d3f4703 fix dual writing 2025-02-06 04:40:01 +00:00
Damodar Lohani
c3495dde35 fix key 2025-02-06 04:17:49 +00:00
Damodar Lohani
8da5bfccb6 fix format and test 2025-02-06 03:58:46 +00:00
Damodar Lohani
89aa61b17c fix duplicate constant 2025-02-06 03:37:01 +00:00
Fabian Gruber
78dd753e8f fix(certificate worker): events are published without queue name 2025-02-05 18:01:55 +01:00
Damodar Lohani
68c3aa3078 update to use publisher 2025-02-05 09:53:29 +00:00
Damodar Lohani
cf66bee925 Merge remote-tracking branch 'origin/1.6.x' into feat-logs-db 2025-02-05 09:49:11 +00:00
Fabian Gruber
a16f26d378 feat: add AMQP queues 2025-02-05 10:29:33 +01:00
Damodar Lohani
99f23ff25a refactor 2025-02-05 09:27:36 +00:00
Damodar Lohani
6b930129e5 add DAU and WAU metric 2025-02-05 09:26:00 +00:00
Damodar Lohani
292e859133 rename metric 2025-02-05 09:17:27 +00:00
Damodar Lohani
5052fd8528 get latest usageDump and dual write 2025-02-05 09:11:03 +00:00
Damodar Lohani
63c07a456f
Merge branch '1.6.x' into feat-logs-db 2025-02-02 07:08:25 +05:45
Damodar Lohani
978f22b56d rename transformed metric 2025-01-30 07:15:24 +00:00
Damodar Lohani
d31a358392 Temp: everything to be removed 2025-01-30 07:07:10 +00:00
Damodar Lohani
074f4417ff image transformations metrics and batch writes 2025-01-30 06:24:10 +00:00
Damodar Lohani
d0724812d7 fix 2025-01-30 05:05:05 +00:00
Damodar Lohani
6fedefdeda fix 2025-01-30 05:03:41 +00:00
Damodar Lohani
cb31e7954e refactor rename 2025-01-30 04:53:53 +00:00
Damodar Lohani
0da3f870f9 refactor: rename 2025-01-30 04:43:16 +00:00
Damodar Lohani
469dbf0a31 reset usage 2025-01-30 04:33:42 +00:00
Damodar Lohani
3fde465dfa Update stats resources task container 2025-01-30 04:15:03 +00:00
Damodar Lohani
c2ce273065 update stats resources task to use new queue 2025-01-30 04:10:35 +00:00
Damodar Lohani
22ab23d009 feat: Stats resources worker 2025-01-30 04:05:51 +00:00
Damodar Lohani
21097041f0 refactor: rename usage count to stats resources 2025-01-30 03:50:27 +00:00
Bradley Schofield
a4fa0e020a Readd Database Scopes 2025-01-30 12:38:19 +09:00
Bradley Schofield
9f043a1b58 Merge branch '1.6.x' into feat-migrations-dynamic-keys 2025-01-30 11:26:52 +09:00
Bradley Schofield
ecaaa4be53 Make migrations use Dynamic keys for destination 2025-01-30 11:23:39 +09:00
Christy Jacob
2307160238 Merge branch '1.6.x' of github.com:appwrite/appwrite into add-fast2sms-adapter 2025-01-28 15:57:53 +05:30
Jake Barnby
76680bcbcc
Revert "Feat batch usage dump" 2025-01-28 22:29:24 +13:00
Christy Jacob
419f3bee1d chore: fix tests 2025-01-28 13:32:10 +05:30
Damodar Lohani
fb5aeb1476 skip some metrics override 2025-01-28 07:19:27 +00:00
Christy Jacob
5593682c3d chore: review comments 2025-01-28 12:24:16 +05:30
Christy Jacob
8ceb6e2c25 chore: review comments 2025-01-28 12:23:18 +05:30
Christy Jacob
6cef099890 chore: linter 2025-01-28 11:51:11 +05:30
Christy Jacob
dfbe3220d8 chore: linter 2025-01-28 11:49:29 +05:30
Christy Jacob
bbe52db4ff feat: add geosms adapter 2025-01-28 11:29:15 +05:30
Damodar Lohani
7b588219f9 fix dual writing internal ID conflict 2025-01-27 08:19:03 +00:00
Damodar Lohani
05f99dcdf0 fix wrong arg 2025-01-27 07:46:54 +00:00
Damodar Lohani
336b0a7c02 rename collection 2025-01-27 07:22:50 +00:00
Damodar Lohani
f593498c07 dual writing 2025-01-27 07:15:06 +00:00
Damodar Lohani
55cbab6270 fix format 2025-01-27 06:15:59 +00:00
Damodar Lohani
5d5547c6b9 periodic metric 2025-01-27 06:11:58 +00:00
Damodar Lohani
066273d0db update usage worker for usage count 2025-01-27 04:33:41 +00:00
Damodar Lohani
9955b6b61c usage count container and events 2025-01-27 04:33:33 +00:00
Christy Jacob
303f7d4845 feat: add fast2SMS adapter 2025-01-24 21:34:00 +05:30
Jake Barnby
f849fb9b30
Add project job timing 2025-01-24 02:04:18 +13:00
Jake Barnby
8097f1607f
Add project log 2025-01-24 01:34:44 +13:00
Jake Barnby
5dd3b09ca7
Lint 2025-01-24 00:13:13 +13:00
Jake Barnby
91c319bc50
Remove redundant logs 2025-01-24 00:09:08 +13:00
Jake Barnby
fe930d8f64
Fix tests 2025-01-24 00:07:45 +13:00
Jake Barnby
77ae8dcc63
Lint 2025-01-23 23:28:15 +13:00
Jake Barnby
8cd4000751
One write per project 2025-01-23 23:25:10 +13:00
Jake Barnby
65c2b99dfe
Fix method refs 2025-01-23 18:32:36 +13:00
Jake Barnby
b56fda0029
Merge remote-tracking branch 'origin/1.6.x' into feat-batch-usage-dump 2025-01-23 17:42:00 +13:00
fogelito
ee9bf984c7 Delete collection first 2025-01-22 17:35:30 +02:00
Jake Barnby
343ef4944b
Format 2025-01-23 01:57:23 +13:00
Jake Barnby
d533113d86
Update usage dump to upsert documents in batches 2025-01-23 01:44:33 +13:00