Commit graph

2749 commits

Author SHA1 Message Date
Alex Gleason
3ff3ba81b7 Merge branch 'zap-notification-streaming' into 'main'
feat: zap notification in streaming

Closes #204

See merge request soapbox-pub/ditto!490
2024-09-24 22:50:35 +00:00
Alex Gleason
be88e0bc2e Merge branch 'pipeline-stats' into 'main'
pipeline: insert event even if stats fail

Closes #221 and #227

See merge request soapbox-pub/ditto!517
2024-09-24 21:54:32 +00:00
Alex Gleason
9f02215c04
Rethrow the error 2024-09-24 16:20:42 -05:00
Alex Gleason
3469374d8e
pipeline: insert event even if stats fail 2024-09-24 16:15:26 -05:00
P. Reis
b81ae3f043 Merge branch 'main' into zap-notification-streaming 2024-09-24 18:12:28 -03:00
Alex Gleason
d72ec843cf
Add relay connections metrics 2024-09-23 22:28:01 -05:00
Alex Gleason
fc73cb2961
Upgrade Nostrify 2024-09-23 22:16:03 -05:00
Alex Gleason
6a8b22d018
metrics: improve fetch response metrics 2024-09-23 21:29:50 -05:00
Alex Gleason
f8fcb9ac77 Merge branch 'policy-signal' into 'main'
Pass signal into policy

See merge request soapbox-pub/ditto!514
2024-09-23 23:10:00 +00:00
Alex Gleason
fe7a8aa8a7
Merge remote-tracking branch 'origin/main' into policy-signal 2024-09-23 18:06:11 -05:00
Alex Gleason
6d0611dafe
Pass signal into policy 2024-09-23 18:04:12 -05:00
Alex Gleason
3dd53f71e9 Merge branch 'catch-update-stats' into 'main'
fix: catch updateStats() function

Closes #221

See merge request soapbox-pub/ditto!513
2024-09-23 22:53:41 +00:00
P. Reis
42371bcc31 fix: catch updateStats() function 2024-09-23 17:47:55 -03:00
Alex Gleason
e0b966bb6d Merge branch 'add-sticky-to-relay' into 'main'
Sticky Notes: add "ditto:relay" in /relay endpoint

See merge request soapbox-pub/ditto!512
2024-09-23 18:50:58 +00:00
P. Reis
92d8f9b8c2 refactor(pipeline.ts): use correct Stickynotes, and not legacy Debug 2024-09-23 15:36:05 -03:00
P. Reis
60ebff45d5 refactor: use correct Stickynotes, and not legacy Debug 2024-09-23 15:33:14 -03:00
P. Reis
1a1adc1654 feat: add ditto:relay in /relay - sticky notes 2024-09-23 14:47:17 -03:00
Alex Gleason
70e27b04f4 Merge branch 'deno-2.0' into 'main'
Ugrade to Deno 2.0

See merge request soapbox-pub/ditto!511
2024-09-22 23:35:07 +00:00
Alex Gleason
8267916466
Add back pipeline test 2024-09-22 18:01:07 -05:00
Alex Gleason
ebce4a8b1d
Fix a few more type errors, whoops 2024-09-22 17:46:21 -05:00
Alex Gleason
b6e7a5529f
Downgrade GitLab CI to rc3 for now 2024-09-22 17:38:31 -05:00
Alex Gleason
cd66234af7
Ugrade to Deno 2.0 2024-09-22 17:35:04 -05:00
Alex Gleason
cccb3ad8d7 Merge branch 'fix-lru' into 'main'
SimpleLRU: fix repeated calls fetching

See merge request soapbox-pub/ditto!510
2024-09-22 21:13:04 +00:00
Alex Gleason
6745e96c64
SimpleLRU: fix repeated calls fetching 2024-09-22 16:06:10 -05:00
Alex Gleason
ce562b3b6a
Upgrade @gleasonator/policy in deno.lock 2024-09-22 14:41:34 -05:00
Alex Gleason
dee635235b Merge branch 'fix-streaming' into 'main'
pipeline: fix events not being pushed through streaming API

Closes #206

See merge request soapbox-pub/ditto!509
2024-09-22 16:56:08 +00:00
Alex Gleason
c4391ccd99
pipeline: fix events not being pushed through streaming API
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/206
2024-09-22 11:49:37 -05:00
Alex Gleason
2587b57794
grafana: add streaming API section 2024-09-21 22:27:00 -05:00
Alex Gleason
1be8fcbcdf Merge branch 'streaming-metrics' into 'main'
Streaming metrics

See merge request soapbox-pub/ditto!508
2024-09-22 03:17:07 +00:00
Alex Gleason
195cf9f44e
metrics: add messages sent and received by streaming API 2024-09-21 21:44:24 -05:00
Alex Gleason
fc7228e183
Streaming metrics 2024-09-21 21:40:52 -05:00
Alex Gleason
323d97e5e0
Upgrade @gleasonator/policy in deno.lock 2024-09-21 21:01:11 -05:00
Alex Gleason
4598782a38
Upgrade @gleasonator/policy in deno.lock 2024-09-21 18:12:57 -05:00
Alex Gleason
7ec4be5011
Add gleasonator-policy 0.6.0 to deno.lock 2024-09-21 16:56:01 -05:00
Alex Gleason
6f487c0891
grafana: fix datasource variables 2024-09-21 15:10:59 -05:00
Alex Gleason
7d1b64c234 Merge branch 'relay-conn-metrics' into 'main'
relay: fix connection metrics

Closes #203

See merge request soapbox-pub/ditto!507
2024-09-21 20:09:57 +00:00
Alex Gleason
5a0a2087e5
relay: fix connection metrics 2024-09-21 14:48:50 -05:00
Alex Gleason
9c9b87bc94
grafana: make caches into gauges 2024-09-21 11:36:08 -05:00
Alex Gleason
15372ceb43 Merge branch 'inc-cache' into 'main'
Make cache settings configurable, increase default values

See merge request soapbox-pub/ditto!506
2024-09-20 18:29:29 +00:00
Alex Gleason
454b362825
deno lint 2024-09-20 13:24:33 -05:00
Alex Gleason
807bc78472
Let caches be configurable 2024-09-20 13:22:45 -05:00
Alex Gleason
099fec6e31
Increase nip05 cache to 3000, link previews to 1000 2024-09-20 13:13:26 -05:00
Alex Gleason
efb37701f0
grafana: add cache section 2024-09-20 13:03:30 -05:00
Alex Gleason
7c45d13849 Merge branch 'cache-metrics' into 'main'
Add cache metrics

See merge request soapbox-pub/ditto!505
2024-09-20 17:41:12 +00:00
Alex Gleason
58bf286ce0
Add cache metrics 2024-09-20 12:34:54 -05:00
Alex Gleason
084e3c8341
note: test that mentions with commas get parsed correctly 2024-09-20 11:46:14 -05:00
Alex Gleason
80302b3915 Merge branch 'stats64' into 'main'
Use char(64) for stats primary keys

See merge request soapbox-pub/ditto!504
2024-09-20 15:37:35 +00:00
Alex Gleason
f0c8096498
stats64: delete invalid rows first 2024-09-20 10:07:50 -05:00
Alex Gleason
2b2cdca282
Use char(64) for stats primary keys 2024-09-20 09:58:46 -05:00
Alex Gleason
e27c1519fb Merge branch 'followers-index' into 'main'
author_stats: add index on followers_count

See merge request soapbox-pub/ditto!503
2024-09-20 14:20:09 +00:00