{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/client_java/issues/107","repository_url":"https://api.github.com/repos/prometheus/client_java","labels_url":"https://api.github.com/repos/prometheus/client_java/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/client_java/issues/107/comments","events_url":"https://api.github.com/repos/prometheus/client_java/issues/107/events","html_url":"https://github.com/prometheus/client_java/pull/107","id":145677843,"number":107,"title":"Clarify the deprecation of methods using 'instance' parameter","user":{"login":"pkubowicz","id":13313417,"avatar_url":"https://avatars.githubusercontent.com/u/13313417?v=3","gravatar_id":"","url":"https://api.github.com/users/pkubowicz","html_url":"https://github.com/pkubowicz","followers_url":"https://api.github.com/users/pkubowicz/followers","following_url":"https://api.github.com/users/pkubowicz/following{/other_user}","gists_url":"https://api.github.com/users/pkubowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pkubowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkubowicz/subscriptions","organizations_url":"https://api.github.com/users/pkubowicz/orgs","repos_url":"https://api.github.com/users/pkubowicz/repos","events_url":"https://api.github.com/users/pkubowicz/events{/privacy}","received_events_url":"https://api.github.com/users/pkubowicz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-04T13:02:02Z","updated_at":"2016-04-04T17:55:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prometheus/client_java/pulls/107","html_url":"https://github.com/prometheus/client_java/pull/107","diff_url":"https://github.com/prometheus/client_java/pull/107.diff","patch_url":"https://github.com/prometheus/client_java/pull/107.patch"},"body":"- remove copy-and-paste: use the string \"instance\" in only 1 place\r\n- expose method instanceGroupingKey() so that library users\r\n  don't need to hard-code the string \"instance\" in their code\r\n- provide a replacement for deprecated methods in their JavaDoc\r\n- remove HashMap as its usage was inefficient"},"comment":{"url":"https://api.github.com/repos/prometheus/client_java/issues/comments/205417072","html_url":"https://github.com/prometheus/client_java/pull/107#issuecomment-205417072","issue_url":"https://api.github.com/repos/prometheus/client_java/issues/107","id":205417072,"user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T17:55:59Z","updated_at":"2016-04-04T17:55:59Z","body":"The deprecated methods would be removed, as they come from a time when the pgw required job and instance to be provided for all pushes. These days only job is required."}}