4 Commits

Author SHA1 Message Date
fad088a1f7 port metrics to new prometheus library
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-20 13:29:12 +01:00
Adam Babik
c11e8d8fb8
Add whitelisting and setting rate limiter from outside (#36) 2019-11-15 13:32:20 +01:00
Adam Babik
51d2371cf9
Implement peer rate limiter (#33)
This change introduces a rate limiting for peer's IP and ID. It allows for 10 messages per second from a single IP and 3 messages per second from a single peer ID. It does not enforce this policy though, it only collects stats for now.
2019-11-12 08:11:38 +01:00
Dmitry
d441b04413 Apply whisper metrics patch 2018-10-01 11:11:05 +03:00