{"action":"closed","issue":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/88","repository_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/88/comments","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-elasticsearch/issues/88/events","html_url":"https://github.com/sensu-plugins/sensu-plugins-elasticsearch/issues/88","id":250993514,"number":88,"title":"check-es-query-ratio performs integer division","user":{"login":"cgarciaarano","id":6098044,"avatar_url":"https://avatars0.githubusercontent.com/u/6098044?v=4","gravatar_id":"","url":"https://api.github.com/users/cgarciaarano","html_url":"https://github.com/cgarciaarano","followers_url":"https://api.github.com/users/cgarciaarano/followers","following_url":"https://api.github.com/users/cgarciaarano/following{/other_user}","gists_url":"https://api.github.com/users/cgarciaarano/gists{/gist_id}","starred_url":"https://api.github.com/users/cgarciaarano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgarciaarano/subscriptions","organizations_url":"https://api.github.com/users/cgarciaarano/orgs","repos_url":"https://api.github.com/users/cgarciaarano/repos","events_url":"https://api.github.com/users/cgarciaarano/events{/privacy}","received_events_url":"https://api.github.com/users/cgarciaarano/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-17T16:02:25Z","updated_at":"2017-08-17T20:15:09Z","closed_at":"2017-08-17T20:15:09Z","body":"Hi there,\r\n\r\nthere are some use cases where this plugin will fail because the integer division. \r\n\r\nFor example, to get a percentage, you need to divide by the total number of occurrences. That means that the result will be always between 0 and 1. Currently the result is handled as integer, so the only possible values are 0 or 1.\r\n"}}
{"actor":{"display_login":"majormoses"}}