open-consul/consul
Sean Chittenden c16b1ca178 Add the list of Raft peers to Consul's Stats
```
% consul info
[snip]
raft:
[snip]
	raft_peers = 127.0.0.1:8300
[snip]
```

Poached from: Nomad Project
2016-04-28 15:08:48 -07:00
..
agent Rename server_details package to agent 2016-03-29 17:39:19 -07:00
prepared_query Hardens the match interoplator against negative arguments. 2016-03-07 13:32:32 -08:00
servers Rename server_details package to agent 2016-03-29 17:39:19 -07:00
state Adds a comment about the embedded struct. 2016-03-07 10:45:39 -08:00
structs Adds a clone method to HealthCheck and uses that in local.go. 2016-04-11 00:05:39 -07:00
acl.go Adds missing token redact in the GET path. 2016-02-26 15:59:00 -08:00
acl_endpoint.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
acl_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
acl_test.go Adds missing token redact in the GET path. 2016-02-26 15:59:00 -08:00
catalog_endpoint.go Factors code for pulling the sorted list of DCs into a common place. 2015-11-15 17:06:00 -08:00
catalog_endpoint_test.go Gets rid of flaky sort check. 2016-03-21 17:30:05 -07:00
client.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
client_test.go Add description to rpc test client pool member failure message 2016-04-01 19:17:38 -07:00
config.go consul: dev mode works 2015-12-26 20:19:36 -05:00
coordinate_endpoint.go Cleans up some small `go vet` findings. 2015-12-18 22:14:48 -08:00
coordinate_endpoint_test.go Increases timeouts for coordinate tests. 2016-03-21 16:44:35 -07:00
endpoints.md consul: remove explicit leave, use reconciliation 2014-05-28 16:32:24 -07:00
filter.go Fix a bunch of typos. 2015-09-15 13:22:08 +01:00
filter_test.go consul: fixing a unit test 2014-08-22 12:34:31 -07:00
fsm.go doc: fix trivial typo s/NewFSMPath/NewFSM/ 2016-03-29 20:52:17 -05:00
fsm_test.go Adds an FSM persist and restore test for tagged addresses. 2016-02-07 11:36:39 -08:00
health_endpoint.go Adds distance sorting to health endpoint. Cleans up unit tests. 2015-10-23 15:23:01 -07:00
health_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
internal_endpoint.go Gets rid of the transitional "New" suffix on state store and RPC. 2015-10-15 14:59:09 -07:00
internal_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
issue_test.go Gets rid of the transitional "New" suffix on state store and RPC. 2015-10-15 14:59:09 -07:00
kvs_endpoint.go Fixes index management for KVS. 2015-10-15 14:59:09 -07:00
kvs_endpoint_test.go Prevents watches from being orphaned when KVS blocking queries loop. 2016-01-20 07:18:47 -08:00
leader.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
leader_test.go Makes the iterator naming more consistent. 2015-10-19 15:51:11 -07:00
merge.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
pool.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
prepared_query_endpoint.go Renames "debug" endpoint and structures to "explain". 2016-03-07 10:45:39 -08:00
prepared_query_endpoint_test.go Increases timeouts for coordinate tests. 2016-03-21 16:44:35 -07:00
raft_rpc.go consul: use tlsutil.Wrapper instead of tls.Config directly 2015-05-11 13:09:19 -07:00
rpc.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
rtt.go Cleans up some small `go vet` findings. 2015-12-18 22:14:48 -08:00
rtt_test.go Adds a unit test for the new RTT getDatacentersByDistance fn. 2015-11-15 17:06:00 -08:00
serf.go Rename server_details package to agent 2016-03-29 17:39:19 -07:00
serf_test.go agent: -encrypt appends to keyring if one exists 2014-11-19 16:36:01 -08:00
server.go Add the list of Raft peers to Consul's Stats 2016-04-28 15:08:48 -07:00
server_test.go Adds coordinate sorting support to catalog queries for nodes and service nodes. 2015-10-23 15:23:01 -07:00
session_endpoint.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
session_endpoint_test.go Factor out duplicate functions into a lib package 2016-01-29 16:57:45 -08:00
session_ttl.go Gets rid of the transitional "New" suffix on state store and RPC. 2015-10-15 14:59:09 -07:00
session_ttl_test.go Switches sessions over to UUIDFieldIndex. 2015-10-19 17:09:02 -07:00
status_endpoint.go consul: updating for Raft API changes 2015-05-08 11:35:52 -07:00
status_endpoint_test.go consul: initial pass at refactoring RPC using net-rpc-msgpackrpc 2015-10-13 22:15:23 -07:00
util.go Refactor consul.serverParts into server_details.ServerDetails 2016-03-23 16:15:47 -07:00
util_test.go Refactor consul.serverParts into server_details.ServerDetails 2016-03-23 16:15:47 -07:00