{"action":"created","issue":{"url":"https://api.github.com/repos/pinterest/elixometer/issues/31","repository_url":"https://api.github.com/repos/pinterest/elixometer","labels_url":"https://api.github.com/repos/pinterest/elixometer/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/pinterest/elixometer/issues/31/comments","events_url":"https://api.github.com/repos/pinterest/elixometer/issues/31/events","html_url":"https://github.com/pinterest/elixometer/issues/31","id":130169524,"number":31,"title":"What is the intentional use of elixometer.TestReporter?","user":{"login":"linearregression","id":3011346,"avatar_url":"https://avatars.githubusercontent.com/u/3011346?v=3","gravatar_id":"","url":"https://api.github.com/users/linearregression","html_url":"https://github.com/linearregression","followers_url":"https://api.github.com/users/linearregression/followers","following_url":"https://api.github.com/users/linearregression/following{/other_user}","gists_url":"https://api.github.com/users/linearregression/gists{/gist_id}","starred_url":"https://api.github.com/users/linearregression/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linearregression/subscriptions","organizations_url":"https://api.github.com/users/linearregression/orgs","repos_url":"https://api.github.com/users/linearregression/repos","events_url":"https://api.github.com/users/linearregression/events{/privacy}","received_events_url":"https://api.github.com/users/linearregression/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T19:08:47Z","updated_at":"2016-02-16T16:59:13Z","closed_at":null,"body":"There is a TestReport In file https://github.com/pinterest/elixometer/blob/master/lib/elixometer.ex\r\n\r\nI notice that is is being used in test:\r\nhttps://github.com/pinterest/elixometer/blob/master/config/test.exs\r\n\r\nBut is that just for Test environment, but for some reason, it si part of the main module? \r\nIf production won't ever use or  it, would suggest this should not be part of main module.\r\n"},"comment":{"url":"https://api.github.com/repos/pinterest/elixometer/issues/comments/184770183","html_url":"https://github.com/pinterest/elixometer/issues/31#issuecomment-184770183","issue_url":"https://api.github.com/repos/pinterest/elixometer/issues/31","id":184770183,"user":{"login":"scohen","id":55809,"avatar_url":"https://avatars.githubusercontent.com/u/55809?v=3","gravatar_id":"","url":"https://api.github.com/users/scohen","html_url":"https://github.com/scohen","followers_url":"https://api.github.com/users/scohen/followers","following_url":"https://api.github.com/users/scohen/following{/other_user}","gists_url":"https://api.github.com/users/scohen/gists{/gist_id}","starred_url":"https://api.github.com/users/scohen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scohen/subscriptions","organizations_url":"https://api.github.com/users/scohen/orgs","repos_url":"https://api.github.com/users/scohen/repos","events_url":"https://api.github.com/users/scohen/events{/privacy}","received_events_url":"https://api.github.com/users/scohen/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T16:59:13Z","updated_at":"2016-02-16T16:59:13Z","body":"The idea is that you use that inside tests if you want to get the output of logging. Elixiometer was written pretty early in our elixir exploration, and this should be made top-level. Better yet, we could alter the mixfile to look in a different directory and remove it entirely from lib and put into `test/support` or something."}}