Alex Gleason
|
092a20088a
|
Reduce timeouts
|
2024-07-01 09:18:42 +01:00 |
|
Alex Gleason
|
c3ffe7c7f7
|
EventsDB: fix limit being passed to NDatabase
|
2024-07-01 08:53:03 +01:00 |
|
Alex Gleason
|
d062f6bbb6
|
Try lazy pool initialization
|
2024-07-01 08:44:01 +01:00 |
|
Alex Gleason
|
96fe171d65
|
Use kysely_deno_postgres with simple transactions
|
2024-07-01 07:22:33 +01:00 |
|
Alex Gleason
|
9ea6c7b00b
|
Add query timeouts
|
2024-06-29 22:26:51 +01:00 |
|
Alex Gleason
|
bdd3b2224e
|
Merge branch 'ms-to-seconds-histogram' into 'main'
fix(dbQueryTimeHistogram): change name to milliseconds ms instead of seconds
See merge request soapbox-pub/ditto!401
|
2024-06-27 17:40:32 +00:00 |
|
P. Reis
|
7f7efd12b8
|
fix(dbQueryTimeHistogram): change name to milliseconds ms instead of seconds
|
2024-06-27 13:32:23 -03:00 |
|
Alex Gleason
|
eba0605e32
|
Merge branch 'db-query-time-prom-metric' into 'main'
basic (and incredibly stupid but potentially genius) db_query_time histogram
See merge request soapbox-pub/ditto!400
|
2024-06-27 13:53:17 +00:00 |
|
P. Reis
|
9cdb8ec534
|
fix(KyselyLogger): use dbQueryTimeHistogram.observe
|
2024-06-27 10:34:12 -03:00 |
|
P. Reis
|
a81bc57961
|
refactor(dbQueryTimeHistogram): get rid of labelNames and buckets
|
2024-06-27 10:32:07 -03:00 |
|
P. Reis
|
ac9bdfde62
|
refactor(KyselyLogger): use startTimer instead of observe
|
2024-06-27 10:23:10 -03:00 |
|
P. Reis
|
d580cac763
|
refactor: dbQueryTimeHistogram
|
2024-06-27 10:20:55 -03:00 |
|
P. Reis
|
0f392b2dba
|
fix(relays): get rid of custom kind 13314 conditional
|
2024-06-27 10:12:44 -03:00 |
|
Siddharth Singh
|
3e40e690c5
|
check admin pubkey while changing threshold
|
2024-06-26 01:44:44 +05:30 |
|
Siddharth Singh
|
ab5f451929
|
fmt
|
2024-06-26 01:33:02 +05:30 |
|
Siddharth Singh
|
7c7c584b78
|
basic (and incredibly stupid but potentially genius) db_query_time histogram
|
2024-06-26 01:30:16 +05:30 |
|
Alex Gleason
|
a965c3c997
|
Merge branch 'pg-metrics' into 'main'
Collect database connections metrics
See merge request soapbox-pub/ditto!399
|
2024-06-25 03:14:26 +00:00 |
|
Alex Gleason
|
d7d14194d7
|
Collect database connections metrics
|
2024-06-24 22:01:01 -05:00 |
|
Alex Gleason
|
7ecfcd84b3
|
Actually use metricsMiddleware, whoops
|
2024-06-24 15:49:27 -05:00 |
|
Alex Gleason
|
5889dfbf71
|
Merge branch 'prom-ws-conn' into 'main'
prometheus: add gauges for websocket connections
See merge request soapbox-pub/ditto!398
|
2024-06-24 14:25:26 +00:00 |
|
Alex Gleason
|
e6cd3d9e47
|
prometheus: add gauges for websocket connections
|
2024-06-24 09:23:26 -05:00 |
|
Alex Gleason
|
4ed289e5c3
|
Merge branch 'prom-relay-verb' into 'main'
prometheus: track relay messages by verb
Closes #166
See merge request soapbox-pub/ditto!397
|
2024-06-24 13:20:48 +00:00 |
|
Alex Gleason
|
e0b1029953
|
prometheus: track relay messages by verb
|
2024-06-24 08:18:11 -05:00 |
|
Alex Gleason
|
961cb070f0
|
Merge branch 'nostr-external-viewers' into 'main'
Add ditto.external property to accounts and statuses
Closes soapbox#1673
See merge request soapbox-pub/ditto!396
|
2024-06-23 21:11:54 +00:00 |
|
Siddharth Singh
|
3f7687d59f
|
make changes according to 24-06-24 review
|
2024-06-24 02:34:49 +05:30 |
|
Siddharth Singh
|
f19afa449a
|
add the ditto.external field to statuses and accounts
|
2024-06-24 02:03:31 +05:30 |
|
Siddharth Singh
|
60b4ea4643
|
add config values for external nostr viewer back to source code
|
2024-06-24 02:02:58 +05:30 |
|
Alex Gleason
|
39fb1eee5f
|
Import Sentry into workers
|
2024-06-23 11:59:08 -05:00 |
|
Alex Gleason
|
a1810219f1
|
Update deno.lock
|
2024-06-23 10:38:55 -05:00 |
|
Alex Gleason
|
c44347e9d1
|
Fix relay metrics
|
2024-06-22 10:28:42 -05:00 |
|
Alex Gleason
|
e50ba819b9
|
metrics: remove path from fetch and request metrics
|
2024-06-22 09:08:32 -05:00 |
|
Alex Gleason
|
ea15f291b0
|
Merge branch 'metrics' into 'main'
Add Prometheus metrics
See merge request soapbox-pub/ditto!395
|
2024-06-22 03:49:07 +00:00 |
|
Alex Gleason
|
88df19494a
|
Expose /metrics in hono
|
2024-06-21 22:46:37 -05:00 |
|
Alex Gleason
|
31a5533fd7
|
Add Prometheus metrics
|
2024-06-21 22:38:25 -05:00 |
|
Alex Gleason
|
766290bd45
|
accountStatusesController: fix oopsie whoopsie TypeError (gj TypeScript)
|
2024-06-20 05:59:41 +00:00 |
|
Alex Gleason
|
6bdd29922a
|
Merge branch 'disabled-no-status' into 'main'
Don't display posts of disabled user on their profile
Closes #162
See merge request soapbox-pub/ditto!393
|
2024-06-19 20:01:07 +00:00 |
|
Alex Gleason
|
003d60c959
|
Don't display posts of disabled user on their profile
|
2024-06-19 14:06:02 -05:00 |
|
Alex Gleason
|
8bd67720d6
|
Merge branch 'custom-emoji-react' into 'main'
Render custom emoji reaction in notifications
See merge request soapbox-pub/ditto!392
|
2024-06-19 18:38:04 +00:00 |
|
Alex Gleason
|
3daac37e08
|
Render custom emoji reaction in notifications
|
2024-06-19 13:35:43 -05:00 |
|
Alex Gleason
|
875eee7a77
|
Avoid using the user's own relay list when publishing events
Sadly I think these relays are causing Ditto to lock up and stop working. This sucks
|
2024-06-19 13:25:06 -05:00 |
|
Alex Gleason
|
6ee9eb63d3
|
Get Ditto version from deno.json
|
2024-06-18 18:05:11 -05:00 |
|
Alex Gleason
|
335cb991d2
|
Add a few NIP-011 limitation fields
|
2024-06-18 17:49:52 -05:00 |
|
Alex Gleason
|
5ac19715cd
|
Merge branch 'limiter' into 'main'
Rate-limit HTTP requests
See merge request soapbox-pub/ditto!390
|
2024-06-18 20:47:22 +00:00 |
|
Alex Gleason
|
0d3c619245
|
rateLimitMiddleware: improve tsdoc comment
|
2024-06-18 15:24:44 -05:00 |
|
Alex Gleason
|
330b38ff68
|
Move rateLimiterMiddleware to a separate file
|
2024-06-18 14:28:13 -05:00 |
|
Alex Gleason
|
72f5391f97
|
Update deno.lock
|
2024-06-18 13:38:56 -05:00 |
|
Alex Gleason
|
03fc6e777c
|
nginx: add more proxy headers
|
2024-06-18 13:38:17 -05:00 |
|
Alex Gleason
|
a824d72a1a
|
Add IP rate limiter
|
2024-06-18 12:09:29 -05:00 |
|
Alex Gleason
|
5ba0c8c14a
|
Merge branch 'hono-jsr' into 'main'
Upgrade hono, switch it to use JSR
See merge request soapbox-pub/ditto!389
|
2024-06-18 16:53:42 +00:00 |
|
Alex Gleason
|
66abfa38c3
|
Upgrade hono, switch it to use JSR
|
2024-06-18 11:51:51 -05:00 |
|