Arseniy Klempner
a19ec01621
feat: add endpoint for batching different metrics in single request
...
This commit adds a new endpoint which expects the body to be a
JSON array of arbitrary metrics, allowing a single request to
include more than one metric of one or more types. Also adds an
optional status version field to tables.
2024-06-12 19:02:28 -07:00
Arseniy Klempner
6efd105d10
feat: add table and endpoint for handing sent envelopes
2024-06-04 21:03:33 -07:00
Vaclav Pavlin
1ca9526278
Merge pull request #17 from vpavlin/feat/add-ratelimiter
...
add per IP rate limitting
2024-06-03 15:19:06 +02:00
Václav Pavlín
0054f4e513
perform go mod tidy
2024-06-03 15:03:14 +02:00
Václav Pavlín
296d312a57
use shrinking map in rate limiter
2024-06-03 15:01:59 +02:00
Václav Pavlín
4b244c6ced
add per IP rate limitting
2024-06-03 14:58:33 +02:00
Vaclav Pavlin
cbc44089c8
Merge pull request #19 from vpavlin/feat/gh-actiosn
...
GH Action to run make test on PR and push to master
2024-06-03 14:55:32 +02:00
Václav Pavlín
9e4c0eec34
chore: add GH action for make test
2024-06-03 14:53:28 +02:00
Vaclav Pavlin
27657b728f
Merge pull request #18 from vpavlin/feat/logging-postgres
...
add Zap for logging and a few helper make targets, fix aggregator tests
2024-06-03 14:52:22 +02:00
Václav Pavlín
3faabf7b82
add Zap for logging and a few helper make targets, fix aggregator tests
2024-05-30 06:21:37 +02:00
7775d4b6cf
ci: fix Docker build by using newer Go and Alpine
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-21 09:10:30 +02:00
4d1a7f822c
ci: use harbor.status.im to push docker images
...
https://github.com/waku-org/storenode-messages-counter/issues/9
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-21 09:10:29 +02:00
Michal Iskierko
98a7a2e74b
feat: Add received envelopes to database
...
Issue #12430
2023-11-07 18:12:26 +01:00
Richard Ramos
79db21455f
fix: hash peerID
2023-02-16 13:39:21 -04:00
Richard Ramos
855743e24c
chore: truncate data, create indexes and rename column
2023-02-06 08:49:46 -04:00
Richard Ramos
d9715f3d8b
feat: add message size
2023-02-01 16:43:14 -04:00
Richard Ramos
859822226d
feat: protocol stats endpoint
2023-02-01 16:43:14 -04:00
RichΛrd
4a1088b220
Update README.md
2023-01-26 14:28:13 -04:00
Richard Ramos
f07ae98360
feat: add migrations and messageType column
2023-01-26 14:18:48 -04:00
Anthony Laibe
7ae26a8bb6
fix: aggregation with user in chat before and after ( #6 )
...
As a user can leave a chat, he can also join it,
Before accounting for it, we need to ensure that he
was in a specific for chat for the whoe period
2021-11-29 16:20:50 +01:00
Anthony Laibe
4749351837
fix: ensure message received ( #5 )
2021-11-17 13:41:32 +01:00
Anthony Laibe
c92bd95a8b
feat: accept batch ( #4 )
2021-11-09 13:53:49 +01:00
Anthony Laibe
f0eca9dad5
feat: add node name and message id ( #3 )
2021-11-08 16:01:25 +01:00
691d4e65b8
readme: update docs to include links to CI job
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-08 15:07:57 +01:00
705c5b1689
add Jenkinsfile for Docker image CI builds
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-08 15:07:57 +01:00
96fded1b9b
server: add /health endpoint for cheap healthchecks
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-08 15:07:57 +01:00
82c72d2301
add Dockerfile for deployments
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-11-08 15:07:57 +01:00
Anthony Laibe
aef686cf70
fix: prevent sql injection
2021-11-08 13:37:32 +01:00
Anthony Laibe
ac48453a37
fix: update aggregator to run hourly
2021-11-08 12:23:46 +01:00
Anthony Laibe
0c60bb544b
feat: start aggregator
2021-11-08 12:22:11 +01:00
Anthony Laibe
cdce03ca1c
feat: Add more log
2021-11-08 11:24:01 +01:00
Anthony Laibe
3917099be2
feat: swith db to postgres
2021-11-08 10:33:13 +01:00
Anthony Laibe
8dc19b6299
feat: calculate aggregation algorithm ( #1 )
2021-11-08 09:35:00 +01:00
Anthony Laibe
98a049d541
Update readme
2021-11-04 16:06:21 +01:00
Anthony Laibe
a02f066cba
feat: initial commit
2021-11-04 16:04:34 +01:00