open-consul/agent/structs
James Phillips bc9780baad Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440)
* Added rate limiting for agent RPC calls.
* Initializes the rate limiter based on the config.
* Adds the rate limiter into the snapshot RPC path.
* Adds unit tests for the RPC rate limiter.
* Groups the RPC limit parameters under "limits" in the config.
* Adds some documentation about the RPC limiter.
* Sends a 429 response when the rate limiter kicks in.
* Adds docs for new telemetry.
* Makes snapshot telemetry look like RPC telemetry and cleans up comments.
2017-09-01 15:02:50 -07:00
..
acl.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
acl_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
catalog.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check_definition.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check_definition_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check_type.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
errors.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
operator.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
operator_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
prepared_query.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
prepared_query_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
service_definition.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
service_definition_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
snapshot.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
structs.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
structs_test.go Organize segments for a cleaner split between enterprise and OSS 2017-08-31 17:39:46 -07:00
txn.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00