{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/2060","labels_url":"https://api.github.com/repos/coreos/etcd/issues/2060/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/2060/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/2060/events","html_url":"https://github.com/coreos/etcd/pull/2060","id":53727853,"number":2060,"title":"rafthttp: add stream metrics","user":{"login":"yichengq","id":2976232,"avatar_url":"https://avatars.githubusercontent.com/u/2976232?v=3","gravatar_id":"","url":"https://api.github.com/users/yichengq","html_url":"https://github.com/yichengq","followers_url":"https://api.github.com/users/yichengq/followers","following_url":"https://api.github.com/users/yichengq/following{/other_user}","gists_url":"https://api.github.com/users/yichengq/gists{/gist_id}","starred_url":"https://api.github.com/users/yichengq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichengq/subscriptions","organizations_url":"https://api.github.com/users/yichengq/orgs","repos_url":"https://api.github.com/users/yichengq/repos","events_url":"https://api.github.com/users/yichengq/events{/privacy}","received_events_url":"https://api.github.com/users/yichengq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-08T08:56:35Z","updated_at":"2015-01-08T08:56:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/2060","html_url":"https://github.com/coreos/etcd/pull/2060","diff_url":"https://github.com/coreos/etcd/pull/2060.diff","patch_url":"https://github.com/coreos/etcd/pull/2060.patch"},"body":"format:\r\n```\r\nunihorn@CoreOS ~/g/s/g/a/kafka> curl http://127.0.0.1:7003/raft/stats | python -m json.tool\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100   236  100   236    0     0   108k      0 --:--:-- --:--:-- --:--:--  230k\r\n{\r\n    \"6e3bd23ae5f1eae0\": {\r\n        \"stream\": {\r\n            \"writer\": {\r\n                \"entries_sent\": 3,\r\n                \"last_index_sent\": 17488,\r\n                \"write_latency_ns\": 15565\r\n            }\r\n        }\r\n    },\r\n    \"a8266ecf031671f3\": {\r\n        \"stream\": {\r\n            \"writer\": {\r\n                \"entries_sent\": 3,\r\n                \"last_index_sent\": 17488,\r\n                \"write_latency_ns\": 7184\r\n            }\r\n        }\r\n    }\r\n}\r\nunihorn@CoreOS ~/g/s/g/a/kafka> curl http://127.0.0.1:7002/raft/stats | python -m json.tool\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100   167  100   167    0     0   116k      0 --:--:-- --:--:-- --:--:--  163k\r\n{\r\n    \"924e2e83e93f2560\": {\r\n        \"stream\": {\r\n            \"reader\": {\r\n                \"entries_received\": 30,\r\n                \"last_index_received\": 17515,\r\n                \"read_latency_ns\": 501205929\r\n            }\r\n        }\r\n    },\r\n    \"a8266ecf031671f3\": {\r\n        \"stream\": {}\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/coreos/etcd/issues/comments/69151991","html_url":"https://github.com/coreos/etcd/pull/2060#issuecomment-69151991","issue_url":"https://api.github.com/repos/coreos/etcd/issues/2060","id":69151991,"user":{"login":"yichengq","id":2976232,"avatar_url":"https://avatars.githubusercontent.com/u/2976232?v=3","gravatar_id":"","url":"https://api.github.com/users/yichengq","html_url":"https://github.com/yichengq","followers_url":"https://api.github.com/users/yichengq/followers","following_url":"https://api.github.com/users/yichengq/following{/other_user}","gists_url":"https://api.github.com/users/yichengq/gists{/gist_id}","starred_url":"https://api.github.com/users/yichengq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichengq/subscriptions","organizations_url":"https://api.github.com/users/yichengq/orgs","repos_url":"https://api.github.com/users/yichengq/repos","events_url":"https://api.github.com/users/yichengq/events{/privacy}","received_events_url":"https://api.github.com/users/yichengq/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T08:56:58Z","updated_at":"2015-01-08T08:56:58Z","body":"for #1766 "}}