Commit graph

2572 commits

Author SHA1 Message Date
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
Alex Gleason
c582b1c520
author_stats: add index on followers_count 2024-09-20 09:16:09 -05:00
Alex Gleason
ab727c3940 Merge branch 'move-author-search-to-author-stats' into 'main'
Order search by followers count & Move author search to author stats

Closes #140

See merge request soapbox-pub/ditto!500
2024-09-20 13:57:31 +00:00
Alex Gleason
54d7a12263 Merge branch 'admin-skip-policy' into 'main'
pipeline: let ditto admin skip the policy

See merge request soapbox-pub/ditto!502
2024-09-20 13:54:57 +00:00
P. Reis
b13e924001 fix: build search and also return it in countAuthorStats() function 2024-09-20 10:25:47 -03:00
P. Reis
578f269a65 refactor: countAuthorStats() function does not return search 2024-09-20 09:55:25 -03:00
Alex Gleason
5dca8d4950
pipeline: let ditto admin skip the policy 2024-09-19 21:57:59 -05:00
Alex Gleason
cc2b5cf66a Merge branch 'firehose-kinds' into 'main'
Add FIREHOSE_KINDS variable

See merge request soapbox-pub/ditto!501
2024-09-20 02:56:03 +00:00
Alex Gleason
b53c6dab62
Add FIREHOSE_KINDS variable 2024-09-19 21:51:48 -05:00
P. Reis
ebeb150463 refactor: use search in author_stats 2024-09-19 19:37:13 -03:00
P. Reis
1b6e9160ec test: update to use author_stats table 2024-09-19 19:36:44 -03:00
P. Reis
2727523540 feat: order search by followers count also 2024-09-19 19:36:13 -03:00
P. Reis
f063da1b86 refactor: add search field to AuthorStatsRow, remove AuthorSearch interface 2024-09-19 19:35:38 -03:00
P. Reis
017c17c8a2 refactor: remove author_search table, put search in author_stats 2024-09-19 19:35:05 -03:00
Alex Gleason
d1f452d87b Merge branch 'fix-pg-trgm-operator' into 'main'
Fix search, use word_similarity operator

Closes #213

See merge request soapbox-pub/ditto!498
2024-09-19 13:58:45 +00:00
P. Reis
2f27e22b4c test(getPubkeysBySearch): change search query 2024-09-19 10:15:41 -03:00
P. Reis
148e714863 fix(pg_trgm): use <% instead of % 2024-09-19 10:07:04 -03:00
P. Reis
aa07809e3f Merge branch 'main' into zap-notification-streaming 2024-09-18 18:32:35 -03:00
Alex Gleason
ee68fbad48 Merge branch 'domain-search-perf' into 'main'
EventsDB: fix domain search performance (also allow searching by multiple languages/domains)

See merge request soapbox-pub/ditto!497
2024-09-18 18:46:37 +00:00
Alex Gleason
5ecf016cb9
EventsDB: fix domain search performance (also allow searching by multiple languages/domains) 2024-09-18 13:42:43 -05:00
Alex Gleason
f55a6d515a Merge branch 'enhance-profile-search-again' into 'main'
feat: show users you follow first in search

Closes soapbox#1724

See merge request soapbox-pub/ditto!494
2024-09-18 18:02:15 +00:00
Alex Gleason
8890f6bce5
searchEvents: fix account_id, simplify code 2024-09-18 12:58:17 -05:00
P. Reis
4ae17c4993 refactor: make getPubkeysBySearch() function return Set<string> 2024-09-18 14:15:18 -03:00
P. Reis
f1c0d8c18f refactor(getPubkeysBySearch): rename followList to followedPubkeys 2024-09-18 11:30:41 -03:00
P. Reis
373e9ca6d8 Merge branch 'main' into zap-notification-streaming 2024-09-17 17:06:45 -03:00
P. Reis
f73b20bf03 refactor: make getPubkeysBySearch() function use set of strings Set<string> 2024-09-17 14:50:33 -03:00
P. Reis
47c1d290b0 Merge branch 'main' into enhance-profile-search-again 2024-09-17 14:42:15 -03:00
Alex Gleason
c67d27e580 Merge branch 'refactor-queries-ts' into 'main'
refactor: getFollowedPubkeys() and getFeedPubkeys() functions return Set<string>

See merge request soapbox-pub/ditto!496
2024-09-17 17:40:39 +00:00