14 Commits

Author SHA1 Message Date
Kishore Nallan
a4b75ac108 Merge branch 'v0.24-nested' into v0.25 2023-01-25 18:13:47 +05:30
Kishore Nallan
c4355ed123 Return 529 for overloaded search requests. 2023-01-25 17:29:08 +05:30
Kishore Nallan
652472f32a Cmake compatible bazel build. 2022-12-18 20:49:51 +05:30
Kishore Nallan
c6ea968f01 Merge branch 'v0.25' into bazel-build
# Conflicts:
#	.gitignore
2022-12-15 21:19:31 +05:30
0x2Adr1
bbebb1a567
Bazel (#736) 2022-12-15 21:09:06 +05:30
Ozan Armağan
3280665cc9
Added rate limiting feature (#709)
* Added rate limiting and blocking IP and API key  feature

* Fix for core_api differences

* Coding style improvements

* Coding style improvement II

* Design Update for RateLimitManager

* Updated some of comments

* Design Update II

* Design Update III

* Updated unit test and bug fixes

* Design Update IV

* Design Update V

* Refactoring update for add_rule and edit_rule

* Update to store rate limits and bans in DB

* Bug fix for bans prefix

* Bug fix for rate limit manager unit test

* Refactoring and updates

* Added More Tests & Fixes

* Updated Rate Limit Manager class tests
2022-09-25 10:37:08 +05:30
Kishore Nallan
4967e48769 Don't create access log file unless access logging is enabled. 2022-06-02 18:32:43 +05:30
Kishore Nallan
b3b591d9dd Option to log requests. 2022-04-27 16:53:15 +05:30
Kishore Nallan
6da39ff51c Expose write stats. 2021-10-02 18:54:30 +05:30
Kishore Nallan
68a0e84cc0 Default search latency and rps to 0. 2021-09-29 18:22:12 +05:30
Kishore Nallan
39910c872a Capture search related metrics separately. 2021-09-21 11:40:41 +05:30
Kishore Nallan
0bc15e013b Add total rps to app metrics. 2021-07-03 21:53:33 +05:30
kishorenc
206b555646 Add guards around metrics access. 2021-02-19 13:11:57 +05:30
Jason Bosco
bcea70ebfd Add windowed stats endpoint 2021-01-22 16:52:27 -08:00