Brian Waldon
9c8a23c333
refactor(PeerServer): Use a config struct in PeerServer
2014-01-22 11:17:03 -08:00
Brian Waldon
7eaad5c8e0
feat(metrics): enable some metrics; push to graphite
...
* -trace flag controls whether or not to enable metrics-gathering
and the /debug/* HTTP endpoints
* -graphite-host flag controls where metrics should be sent
* timer.ae.handle metric tracks execution time of AppendEntriesRequest
2014-01-20 15:39:36 -08:00
Xiang Li
8a0496cfae
bump deps
2013-11-22 08:59:24 -08:00
Xiang Li
eb2fbcb575
feat use-raft-protobuf
2013-11-02 21:50:35 -07:00
Ben Johnson
ddf527e092
Add version upgrade endpoint.
2013-10-29 15:49:10 -06:00
Ben Johnson
aa9ae32998
Internal versioning.
2013-10-27 14:09:40 -06:00
Xiang Li
acbc0c8846
refactor return http status 201 Created when creating a new node
2013-10-19 19:57:36 -07:00
Ben Johnson
e7598075ac
Use raft.Server interface.
2013-10-14 13:51:20 -06:00
Xiang Li
ef74464aea
refactor remove extra function
2013-10-13 23:09:52 -07:00
Xiang Li
090d049b81
refactor move raft http handlers to peer_server_handlers.go
2013-10-13 22:50:51 -07:00