Commit Graph

6 Commits

Author SHA1 Message Date
Aleksey Kashapov
553e18d59b
Adds support for prometheus woody metrics (#32)
Some checks are pending
Build and publish Docker image / build-push (push) Waiting to run
Erlang CI Checks / Load .env (push) Waiting to run
Erlang CI Checks / Run checks (push) Blocked by required conditions
* Adds support for prometheus woody metrics

* Bumps CI wf

* Ignore accidental god-module `lim_turnover_SUITE`
2024-10-31 13:47:43 +03:00
Andrew Mayorov
d36b97f44a
TD-304: Handle amount limit body type (#8)
* Bump to valitydev/limiter-proto@6723e86.
* Introduce _noncurrency_ concept instead of default currency which is kinda misleading.
* Rename `lim_p_transfer` → `lim_posting`.
* (Minor API break) Respond w/ 0 balance on uninitialized limit ranges.
2022-06-10 12:56:13 +03:00
Andrew Mayorov
3b10d1cbf3
TD-275: Ensure limit changes handled idempotently (#3)
While also involving minimal number of interactions with accounter
in order to improve runtime behaviour.

* Add annotated testcases for changed exception behavior

* Test (kinda) that multirange limits work
2022-04-19 18:03:09 +03:00
Andrew Mayorov
f577d1292a
TD-275: Add CI through GH Actions (#1)
* Switch to valitydev upstreams
* valitydev/thrift_erlang@c280ff2
* valitydev/scoper@7f3183d
* valitydev/genlib@82c5ff3
* valitydev/erlang-health@5958e2f
* valitydev/damsel@1d60b20
* Drop how_are_you
2022-04-18 11:00:48 +03:00
Артем
9bf3e29636
P2C-14: Limiter (#1)
* draft

* added format

* added backend stuff

* added requested changes except batch in range machine

* added error sort in handler, add lim_body and its validation

* added start time and shard size, implemented shard id generation and time range calculation

* fixed xref

* fixed format

* added unit tests

* refactored errors

* updated to new proto

* added config marshaling

* fixed format

* added base tests

* added exchange tests

* fixed linter

* added requested changes

* updated proto ref
2021-05-17 13:34:16 +03:00
WWW_cool
439b1c65b0
initial 2021-02-17 12:47:57 +03:00