{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/heroic/issues/131","repository_url":"https://api.github.com/repos/spotify/heroic","labels_url":"https://api.github.com/repos/spotify/heroic/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/spotify/heroic/issues/131/comments","events_url":"https://api.github.com/repos/spotify/heroic/issues/131/events","html_url":"https://github.com/spotify/heroic/pull/131","id":189118075,"number":131,"title":"Query log - configurable logging of big queries","user":{"login":"gabrielgerhardsson","id":21129934,"avatar_url":"https://avatars.githubusercontent.com/u/21129934?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielgerhardsson","html_url":"https://github.com/gabrielgerhardsson","followers_url":"https://api.github.com/users/gabrielgerhardsson/followers","following_url":"https://api.github.com/users/gabrielgerhardsson/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgerhardsson/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgerhardsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgerhardsson/subscriptions","organizations_url":"https://api.github.com/users/gabrielgerhardsson/orgs","repos_url":"https://api.github.com/users/gabrielgerhardsson/repos","events_url":"https://api.github.com/users/gabrielgerhardsson/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgerhardsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-14T13:56:06Z","updated_at":"2016-11-14T15:01:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spotify/heroic/pulls/131","html_url":"https://github.com/spotify/heroic/pull/131","diff_url":"https://github.com/spotify/heroic/pull/131.diff","patch_url":"https://github.com/spotify/heroic/pull/131.patch"},"body":"This adds the possibility to log queries, including information such as ip:port, elapsed time, number of resulting data points, full request.\r\nDefine a new Logger called \"query.log\" to get the output to a separate file. Log level for the query logging is \"debug\".\r\nQuery logging is disabled by default. Use logQueries in the metrics section to enable it.\r\nLogging can be filtered on the amount of data points being returned by the query. Use logQueriesThresholdDataPoints in the metrics section to define lower threshold. Default threshold is 1000000. Sample configuration:\r\n\r\nmetrics:\r\n  logQueries: true\r\n  logQueriesThresholdDataPoints: 1000000"},"comment":{"url":"https://api.github.com/repos/spotify/heroic/issues/comments/260357440","html_url":"https://github.com/spotify/heroic/pull/131#issuecomment-260357440","issue_url":"https://api.github.com/repos/spotify/heroic/issues/131","id":260357440,"user":{"login":"udoprog","id":111092,"avatar_url":"https://avatars.githubusercontent.com/u/111092?v=3","gravatar_id":"","url":"https://api.github.com/users/udoprog","html_url":"https://github.com/udoprog","followers_url":"https://api.github.com/users/udoprog/followers","following_url":"https://api.github.com/users/udoprog/following{/other_user}","gists_url":"https://api.github.com/users/udoprog/gists{/gist_id}","starred_url":"https://api.github.com/users/udoprog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udoprog/subscriptions","organizations_url":"https://api.github.com/users/udoprog/orgs","repos_url":"https://api.github.com/users/udoprog/repos","events_url":"https://api.github.com/users/udoprog/events{/privacy}","received_events_url":"https://api.github.com/users/udoprog/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T15:01:11Z","updated_at":"2016-11-14T15:01:11Z","body":"I think this relates to #126 somehow, @juruen?"}}
{"actor":{"display_login":"udoprog"}}