Ronald
dd0e8eec14
copyright headers for agent folder ( #16704 )
...
* copyright headers for agent folder
* Ignore test data files
* fix proto files and remove headers in agent/uiserver folder
* ignore deep-copy files
2023-03-28 14:39:22 -04:00
Poonam Jadhav
3be683fcc1
feat: add category annotation to RPC and gRPC methods ( #16646 )
2023-03-20 11:24:29 -04:00
Poonam Jadhav
c50bf92b84
feat: panic handler in rpc rate limit interceptor ( #16022 )
...
* feat: handle panic in rpc rate limit interceptor
* test: additional test cases to rpc rate limiting interceptor
* refactor: remove unused listener
2023-01-25 14:13:38 -05:00
Semir Patel
8242459c66
Wire up the rate limiter to net/rpc calls ( #15879 )
2023-01-04 13:38:44 -06:00
Semir Patel
971089482c
Map net/rpc endpoints to a read/write/exempt op for rate-limiting ( #15825 )
...
Also fixed TestRequestRecorder flaky tests due to loss of precision in elapsed time in the test.
2022-12-19 16:04:52 -06:00
Gabriel Santos
09c00ff39a
Middleware: `RequestRecorder` reports calls below 1ms as decimal value ( #12905 )
...
* Typos
* Test failing
* Convert values <1ms to decimal
* Fix test
* Update docs and test error msg
* Applied suggested changes to test case
* Changelog file and suggested changes
* Update .changelog/12905.txt
Co-authored-by: Chris S. Kim <kisunji92@gmail.com>
* suggested change - start duration with microseconds instead of nanoseconds
* fix error
* suggested change - floats
Co-authored-by: alex <8968914+acpana@users.noreply.github.com>
Co-authored-by: Chris S. Kim <kisunji92@gmail.com>
2022-09-15 13:04:37 -04:00
FFMMM
cf7e6484aa
add more labels to RequestRecorder ( #12727 )
...
Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2022-04-12 10:50:25 -07:00
FFMMM
0f68bf879a
[rpc/middleware][consul] plumb intercept off, add server level happy test ( #12692 )
2022-04-06 14:33:05 -07:00
FFMMM
6bdde40d5e
lower log to trace ( #12708 )
2022-04-06 11:37:08 -07:00
FFMMM
8b184197b3
polish rpc.service.call metric behavior ( #12624 )
2022-03-31 10:49:37 -07:00
FFMMM
560f8cbc89
fix bad oss sync, use gauges not counters ( #12611 )
2022-03-24 14:41:30 -07:00
FFMMM
76d8798590
factor out recording func, add unit tests ( #12585 )
...
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2022-03-22 09:31:54 -07:00
FFMMM
08f2838b78
pre register new rpc metric, rename metric ( #12582 )
2022-03-21 17:26:32 -07:00
FFMMM
3c08843847
[sync oss] add net/rpc interceptor implementation ( #12573 )
...
* sync ent changes from 866dcb0667
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
* update oss go.mod
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2022-03-17 16:02:26 -07:00