{"action":"opened","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/145","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/145/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/145/events","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/145","id":73586276,"number":145,"title":"Calculate % of time blocked in credit flow","user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/effort-low","name":"effort-low","color":"88b3e4"},{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-05-06T10:39:27Z","updated_at":"2015-05-06T10:39:27Z","closed_at":null,"body":"We currently sample credit flow state for connections and channels. However, the status is not accurate: we report state as \"flow\" when it was in flow in the last 5 seconds. A much better strategy would be to report \"flow utilisation\", much like we do with consumer utilisation: a % of time when a process was blocked in flow."}}