{"action":"opened","number":2452,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/2452","id":167285624,"html_url":"https://github.com/puppetlabs/puppetdb/pull/2452","diff_url":"https://github.com/puppetlabs/puppetdb/pull/2452.diff","patch_url":"https://github.com/puppetlabs/puppetdb/pull/2452.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetdb/issues/2452","number":2452,"state":"open","locked":false,"title":"(PDB-3830) Decrement queue depth when discarding a message","user":{"login":"npwalker","id":513998,"avatar_url":"https://avatars1.githubusercontent.com/u/513998?v=4","gravatar_id":"","url":"https://api.github.com/users/npwalker","html_url":"https://github.com/npwalker","followers_url":"https://api.github.com/users/npwalker/followers","following_url":"https://api.github.com/users/npwalker/following{/other_user}","gists_url":"https://api.github.com/users/npwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/npwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npwalker/subscriptions","organizations_url":"https://api.github.com/users/npwalker/orgs","repos_url":"https://api.github.com/users/npwalker/repos","events_url":"https://api.github.com/users/npwalker/events{/privacy}","received_events_url":"https://api.github.com/users/npwalker/received_events","type":"User","site_admin":false},"body":"Prior to this commit, when a message is discarded it had no effect\r\non the command queue depth metrics.\r\n\r\nAfter this commit, when a message is discarded we decrement the\r\nqueue depth metric.","created_at":"2018-02-05T23:49:25Z","updated_at":"2018-02-05T23:49:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/2452/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/2452/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetdb/issues/2452/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetdb/statuses/70303eeed6762a6aedc5f1534ed7a9c11cc78b98","head":{"label":"npwalker:pdb_3830_decrement_command_queue_when_discarding_messages","ref":"pdb_3830_decrement_command_queue_when_discarding_messages","sha":"70303eeed6762a6aedc5f1534ed7a9c11cc78b98","user":{"login":"npwalker","id":513998,"avatar_url":"https://avatars1.githubusercontent.com/u/513998?v=4","gravatar_id":"","url":"https://api.github.com/users/npwalker","html_url":"https://github.com/npwalker","followers_url":"https://api.github.com/users/npwalker/followers","following_url":"https://api.github.com/users/npwalker/following{/other_user}","gists_url":"https://api.github.com/users/npwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/npwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npwalker/subscriptions","organizations_url":"https://api.github.com/users/npwalker/orgs","repos_url":"https://api.github.com/users/npwalker/repos","events_url":"https://api.github.com/users/npwalker/events{/privacy}","received_events_url":"https://api.github.com/users/npwalker/received_events","type":"User","site_admin":false},"repo":{"id":50618763,"name":"puppetdb","full_name":"npwalker/puppetdb","owner":{"login":"npwalker","id":513998,"avatar_url":"https://avatars1.githubusercontent.com/u/513998?v=4","gravatar_id":"","url":"https://api.github.com/users/npwalker","html_url":"https://github.com/npwalker","followers_url":"https://api.github.com/users/npwalker/followers","following_url":"https://api.github.com/users/npwalker/following{/other_user}","gists_url":"https://api.github.com/users/npwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/npwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npwalker/subscriptions","organizations_url":"https://api.github.com/users/npwalker/orgs","repos_url":"https://api.github.com/users/npwalker/repos","events_url":"https://api.github.com/users/npwalker/events{/privacy}","received_events_url":"https://api.github.com/users/npwalker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/npwalker/puppetdb","description":"Centralized Puppet Storage","fork":true,"url":"https://api.github.com/repos/npwalker/puppetdb","forks_url":"https://api.github.com/repos/npwalker/puppetdb/forks","keys_url":"https://api.github.com/repos/npwalker/puppetdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npwalker/puppetdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npwalker/puppetdb/teams","hooks_url":"https://api.github.com/repos/npwalker/puppetdb/hooks","issue_events_url":"https://api.github.com/repos/npwalker/puppetdb/issues/events{/number}","events_url":"https://api.github.com/repos/npwalker/puppetdb/events","assignees_url":"https://api.github.com/repos/npwalker/puppetdb/assignees{/user}","branches_url":"https://api.github.com/repos/npwalker/puppetdb/branches{/branch}","tags_url":"https://api.github.com/repos/npwalker/puppetdb/tags","blobs_url":"https://api.github.com/repos/npwalker/puppetdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npwalker/puppetdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npwalker/puppetdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/npwalker/puppetdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npwalker/puppetdb/statuses/{sha}","languages_url":"https://api.github.com/repos/npwalker/puppetdb/languages","stargazers_url":"https://api.github.com/repos/npwalker/puppetdb/stargazers","contributors_url":"https://api.github.com/repos/npwalker/puppetdb/contributors","subscribers_url":"https://api.github.com/repos/npwalker/puppetdb/subscribers","subscription_url":"https://api.github.com/repos/npwalker/puppetdb/subscription","commits_url":"https://api.github.com/repos/npwalker/puppetdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/npwalker/puppetdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/npwalker/puppetdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/npwalker/puppetdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/npwalker/puppetdb/contents/{+path}","compare_url":"https://api.github.com/repos/npwalker/puppetdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npwalker/puppetdb/merges","archive_url":"https://api.github.com/repos/npwalker/puppetdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npwalker/puppetdb/downloads","issues_url":"https://api.github.com/repos/npwalker/puppetdb/issues{/number}","pulls_url":"https://api.github.com/repos/npwalker/puppetdb/pulls{/number}","milestones_url":"https://api.github.com/repos/npwalker/puppetdb/milestones{/number}","notifications_url":"https://api.github.com/repos/npwalker/puppetdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npwalker/puppetdb/labels{/name}","releases_url":"https://api.github.com/repos/npwalker/puppetdb/releases{/id}","deployments_url":"https://api.github.com/repos/npwalker/puppetdb/deployments","created_at":"2016-01-28T22:32:16Z","updated_at":"2016-01-28T22:32:17Z","pushed_at":"2018-02-05T23:49:02Z","git_url":"git://github.com/npwalker/puppetdb.git","ssh_url":"git@github.com:npwalker/puppetdb.git","clone_url":"https://github.com/npwalker/puppetdb.git","svn_url":"https://github.com/npwalker/puppetdb","homepage":"http://docs.puppetlabs.com/puppetdb","size":18030,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"3b4bd007df91e7a41af459ef02403647678aa2f0","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":2193032,"name":"puppetdb","full_name":"puppetlabs/puppetdb","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetdb","description":"Centralized Puppet Storage","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetdb","forks_url":"https://api.github.com/repos/puppetlabs/puppetdb/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetdb/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetdb/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetdb/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetdb/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetdb/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetdb/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetdb/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetdb/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetdb/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetdb/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetdb/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetdb/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetdb/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetdb/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetdb/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetdb/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetdb/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetdb/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetdb/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetdb/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetdb/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppetdb/deployments","created_at":"2011-08-11T18:54:46Z","updated_at":"2018-01-22T18:43:11Z","pushed_at":"2018-02-05T22:40:58Z","git_url":"git://github.com/puppetlabs/puppetdb.git","ssh_url":"git@github.com:puppetlabs/puppetdb.git","clone_url":"https://github.com/puppetlabs/puppetdb.git","svn_url":"https://github.com/puppetlabs/puppetdb","homepage":"http://docs.puppetlabs.com/puppetdb","size":18186,"stargazers_count":224,"watchers_count":224,"language":"Clojure","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":180,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":180,"open_issues":18,"watchers":224,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/2452"},"html":{"href":"https://github.com/puppetlabs/puppetdb/pull/2452"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetdb/issues/2452"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetdb/issues/2452/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/2452/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetdb/pulls/2452/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetdb/statuses/70303eeed6762a6aedc5f1534ed7a9c11cc78b98"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"npwalker"}}