consul/agent
James Phillips 9258506dab 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
..
consul Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
metadata Organize segments for a cleaner split between enterprise and OSS 2017-08-31 17:39:46 -07:00
mock agent: replace docker check 2017-07-18 20:24:38 +02:00
pool agent: move conn pool for muxed connections into separate pkg 2017-06-21 05:42:39 +02:00
router Add segment addr field to tags for LAN flood joiner 2017-08-30 11:58:29 -07:00
structs Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
systemd agent: notify systemd after JoinLAN (#2121) 2017-06-21 06:43:55 +02:00
token Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
acl.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
acl_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
acl_endpoint_test.go build: make tests independent of build tags 2017-08-30 13:40:18 +02:00
acl_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
agent.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
agent_endpoint.go Fix some inconsistencies with segment logic and comments 2017-08-30 17:43:46 -07:00
agent_endpoint_test.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
agent_test.go build: make tests independent of build tags 2017-08-30 13:40:18 +02:00
bindata_assetfs.go Update coord display in ui to account for segments 2017-08-30 11:58:29 -07:00
blacklist.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
blacklist_test.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
catalog_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
catalog_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check_test.go agent: replace docker check 2017-07-18 20:24:38 +02:00
config.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
config_test.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
dns.go Fill in the segment in the QuerySource for prepared query lookups 2017-08-31 03:35:59 -07:00
dns_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
docker.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_unix.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_windows.go agent: replace docker check 2017-07-18 20:24:38 +02:00
event_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
event_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
health_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
health_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
http.go Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440) 2017-09-01 15:02:50 -07:00
http_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
keyring.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
keyring_test.go Prevents disabling gossip keyring file from disabling gossip encryption. (#3278) 2017-07-17 12:48:45 -07:00
kvs_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
kvs_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
local.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
local_test.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
notify.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
notify_test.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
operator_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
operator_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +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 agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
remote_exec.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
remote_exec_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
retry_join.go agent: support go-discover retry-join for wan 2017-08-23 21:23:34 +02:00
retry_join_test.go agent: fix code for updated go-discover signature 2017-08-03 21:32:11 +02:00
segment_stub.go Organize segments for a cleaner split between enterprise and OSS 2017-08-31 17:39:46 -07:00
session_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
session_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
snapshot_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
snapshot_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
status_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
status_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
testagent.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
translate_addr.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
txn_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
txn_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
ui_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
ui_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
user_event.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
user_event_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
util.go agent: Fix script quoting on windows (#1875) 2017-08-02 17:01:21 +02:00
util_other.go Cleans up some go fmt issues. 2017-08-08 21:52:50 -07:00
util_test.go pkg refactor 2017-06-10 18:52:45 +02:00
util_windows.go Cleans up some go fmt issues. 2017-08-08 21:52:50 -07:00
watch_handler.go pkg refactor 2017-06-10 18:52:45 +02:00
watch_handler_test.go pkg refactor 2017-06-10 18:52:45 +02:00