{"action":"created","issue":{"url":"https://api.github.com/repos/iopipe/iopipe-python/issues/96","repository_url":"https://api.github.com/repos/iopipe/iopipe-python","labels_url":"https://api.github.com/repos/iopipe/iopipe-python/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/iopipe/iopipe-python/issues/96/comments","events_url":"https://api.github.com/repos/iopipe/iopipe-python/issues/96/events","html_url":"https://github.com/iopipe/iopipe-python/pull/96","id":258894069,"number":96,"title":"Feature/disable iopipe","user":{"login":"mislavcimpersak","id":3473617,"avatar_url":"https://avatars1.githubusercontent.com/u/3473617?v=4","gravatar_id":"","url":"https://api.github.com/users/mislavcimpersak","html_url":"https://github.com/mislavcimpersak","followers_url":"https://api.github.com/users/mislavcimpersak/followers","following_url":"https://api.github.com/users/mislavcimpersak/following{/other_user}","gists_url":"https://api.github.com/users/mislavcimpersak/gists{/gist_id}","starred_url":"https://api.github.com/users/mislavcimpersak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislavcimpersak/subscriptions","organizations_url":"https://api.github.com/users/mislavcimpersak/orgs","repos_url":"https://api.github.com/users/mislavcimpersak/repos","events_url":"https://api.github.com/users/mislavcimpersak/events{/privacy}","received_events_url":"https://api.github.com/users/mislavcimpersak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-19T17:01:33Z","updated_at":"2017-09-25T23:36:52Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/iopipe/iopipe-python/pulls/96","html_url":"https://github.com/iopipe/iopipe-python/pull/96","diff_url":"https://github.com/iopipe/iopipe-python/pull/96.diff","patch_url":"https://github.com/iopipe/iopipe-python/pull/96.patch"},"body":"I'm suggesting an option to disable IOpipe plugin using environment variable.\r\n\r\nIt's useful to disable IOpipe during local development or if someone want's to disable logging just temporary or for staging or anything like that.\r\n\r\nIf env var `IOPIPE_ENABLED` is set to `False` IOpipe reporting is disabled. Default is `True`."},"comment":{"url":"https://api.github.com/repos/iopipe/iopipe-python/issues/comments/332043677","html_url":"https://github.com/iopipe/iopipe-python/pull/96#issuecomment-332043677","issue_url":"https://api.github.com/repos/iopipe/iopipe-python/issues/96","id":332043677,"user":{"login":"kolanos","id":17498,"avatar_url":"https://avatars2.githubusercontent.com/u/17498?v=4","gravatar_id":"","url":"https://api.github.com/users/kolanos","html_url":"https://github.com/kolanos","followers_url":"https://api.github.com/users/kolanos/followers","following_url":"https://api.github.com/users/kolanos/following{/other_user}","gists_url":"https://api.github.com/users/kolanos/gists{/gist_id}","starred_url":"https://api.github.com/users/kolanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolanos/subscriptions","organizations_url":"https://api.github.com/users/kolanos/orgs","repos_url":"https://api.github.com/users/kolanos/repos","events_url":"https://api.github.com/users/kolanos/events{/privacy}","received_events_url":"https://api.github.com/users/kolanos/received_events","type":"User","site_admin":false},"created_at":"2017-09-25T23:36:52Z","updated_at":"2017-09-25T23:36:52Z","author_association":"CONTRIBUTOR","body":"@mislavcimpersak Thanks for this contribution. Would it make sense to disable the agent if `IOPIPE_TOKEN` is unset instead?"}}
{"actor":{"display_login":"kolanos"}}