{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/client_golang/issues/70","labels_url":"https://api.github.com/repos/prometheus/client_golang/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/client_golang/issues/70/comments","events_url":"https://api.github.com/repos/prometheus/client_golang/issues/70/events","html_url":"https://github.com/prometheus/client_golang/pull/70","id":57238696,"number":70,"title":"Handle process collector errors gracefully","user":{"login":"grobie","id":3432,"avatar_url":"https://avatars.githubusercontent.com/u/3432?v=3","gravatar_id":"","url":"https://api.github.com/users/grobie","html_url":"https://github.com/grobie","followers_url":"https://api.github.com/users/grobie/followers","following_url":"https://api.github.com/users/grobie/following{/other_user}","gists_url":"https://api.github.com/users/grobie/gists{/gist_id}","starred_url":"https://api.github.com/users/grobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grobie/subscriptions","organizations_url":"https://api.github.com/users/grobie/orgs","repos_url":"https://api.github.com/users/grobie/repos","events_url":"https://api.github.com/users/grobie/events{/privacy}","received_events_url":"https://api.github.com/users/grobie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-10T21:23:37Z","updated_at":"2015-02-10T23:04:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prometheus/client_golang/pulls/70","html_url":"https://github.com/prometheus/client_golang/pull/70","diff_url":"https://github.com/prometheus/client_golang/pull/70.diff","patch_url":"https://github.com/prometheus/client_golang/pull/70.patch"},"body":"As it is expected that the process collector can fail under certain\r\nconditions (proc information for a process only readable by root or\r\nother user for example) and as there is currently no option to configure\r\nthe error behavior of the client, this change reverts the error\r\nreporting introduced in 159e96f. This effectively means that errors are\r\nsimply ignored and there won't be any samples for the process_* metrics\r\nin case of an error.\r\n\r\nOnce a user can control how to behave in case of errors returned by\r\ncollectors, this change should probably be reverted again.\r\n\r\n@beorn7 @juliusv @brian-brazil "},"comment":{"url":"https://api.github.com/repos/prometheus/client_golang/issues/comments/73803544","html_url":"https://github.com/prometheus/client_golang/pull/70#issuecomment-73803544","issue_url":"https://api.github.com/repos/prometheus/client_golang/issues/70","id":73803544,"user":{"login":"beorn7","id":5609886,"avatar_url":"https://avatars.githubusercontent.com/u/5609886?v=3","gravatar_id":"","url":"https://api.github.com/users/beorn7","html_url":"https://github.com/beorn7","followers_url":"https://api.github.com/users/beorn7/followers","following_url":"https://api.github.com/users/beorn7/following{/other_user}","gists_url":"https://api.github.com/users/beorn7/gists{/gist_id}","starred_url":"https://api.github.com/users/beorn7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beorn7/subscriptions","organizations_url":"https://api.github.com/users/beorn7/orgs","repos_url":"https://api.github.com/users/beorn7/repos","events_url":"https://api.github.com/users/beorn7/events{/privacy}","received_events_url":"https://api.github.com/users/beorn7/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T23:04:12Z","updated_at":"2015-02-10T23:04:12Z","body":"And let's revisit once we have more granular error handling."}}