open-consul/agent/consul
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
..
prepared_query Add agent.segment interpolation to prepared queries 2017-08-30 11:58:29 -07:00
state Add agent.segment interpolation to prepared queries 2017-08-30 11:58:29 -07:00
acl.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
acl_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
acl_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
acl_replication.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
acl_replication_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
acl_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
autopilot.go agent: move agent/consul/agent to agent/metadata 2017-08-09 14:36:52 +02:00
autopilot_test.go rpc: run agent/consul tests in parallel 2017-07-07 09:22:34 +02:00
catalog_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
catalog_endpoint_test.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
client.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
client_serf.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
client_test.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
config.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
coordinate_endpoint.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
coordinate_endpoint_test.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
filter.go Revert "Return 403 rather than a 404 when acls cause all results to be filter…" 2017-08-09 15:06:57 -07:00
filter_test.go Revert "Return 403 rather than a 404 when acls cause all results to be filter…" 2017-08-09 15:06:57 -07:00
flood.go Add segment addr field to tags for LAN flood joiner 2017-08-30 11:58:29 -07:00
fsm.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
fsm_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
health_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
health_endpoint_test.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
helper_test.go test: Changes WAN/LAN join confirmer to use port number vs. address. 2017-07-07 09:22:34 +02:00
internal_endpoint.go Fix some inconsistencies with segment logic and comments 2017-08-30 17:43:46 -07:00
internal_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
issue_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
kvs_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
kvs_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
leader.go Fix some inconsistencies with segment logic and comments 2017-08-30 17:43:46 -07:00
leader_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
merge.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
merge_test.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
operator_autopilot_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
operator_autopilot_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
operator_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
operator_raft_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
operator_raft_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
prepared_query_endpoint.go Add agent.segment interpolation to prepared queries 2017-08-30 11:58:29 -07:00
prepared_query_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
raft_rpc.go agent: move conn pool for muxed connections into separate pkg 2017-06-21 05:42:39 +02:00
rpc.go Add rpc_listener option to segment config 2017-08-30 11:58:29 -07:00
rpc_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
rtt.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
rtt_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
segment_stub.go Pass listeners into setupSegments 2017-08-31 17:56:43 -07:00
serf_test.go pkg refactor 2017-06-10 18:52:45 +02:00
server.go Merge pull request #3431 from hashicorp/network-segments-oss 2017-09-01 10:24:58 -07:00
server_lookup.go More cleanup from code review 2017-08-30 12:31:36 -05:00
server_lookup_test.go More cleanup from code review 2017-08-30 12:31:36 -05:00
server_serf.go Organize segments for a cleaner split between enterprise and OSS 2017-08-31 17:39:46 -07:00
server_test.go More cleanup from code review 2017-08-30 12:31:36 -05:00
session_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
session_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
session_timers.go address review comments 2017-07-07 09:22:34 +02:00
session_timers_test.go rpc: refactor sessionTimers and fix racy tests 2017-07-07 09:22:34 +02:00
session_ttl.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
session_ttl_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
snapshot_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
snapshot_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
stats_fetcher.go agent: move agent/consul/agent to agent/metadata 2017-08-09 14:36:52 +02:00
stats_fetcher_test.go agent: move agent/consul/agent to agent/metadata 2017-08-09 14:36:52 +02:00
status_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
status_endpoint_test.go rpc: run agent/consul tests in parallel 2017-07-07 09:22:34 +02:00
txn_endpoint.go Revert "Return 403 rather than a 404 when acls cause all results to be filter…" 2017-08-09 15:06:57 -07:00
txn_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
util.go agent: move agent/consul/agent to agent/metadata 2017-08-09 14:36:52 +02:00
util_test.go pkg refactor 2017-06-10 18:52:45 +02:00