{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/1","id":183408040,"html_url":"https://github.com/bakins/alertmanager-webhook-example/pull/1","diff_url":"https://github.com/bakins/alertmanager-webhook-example/pull/1.diff","patch_url":"https://github.com/bakins/alertmanager-webhook-example/pull/1.patch","issue_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/issues/1","number":1,"state":"closed","locked":false,"title":"Changed GroupKey file type from int to string","user":{"login":"TheBig159","id":15776242,"avatar_url":"https://avatars1.githubusercontent.com/u/15776242?v=4","gravatar_id":"","url":"https://api.github.com/users/TheBig159","html_url":"https://github.com/TheBig159","followers_url":"https://api.github.com/users/TheBig159/followers","following_url":"https://api.github.com/users/TheBig159/following{/other_user}","gists_url":"https://api.github.com/users/TheBig159/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBig159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBig159/subscriptions","organizations_url":"https://api.github.com/users/TheBig159/orgs","repos_url":"https://api.github.com/users/TheBig159/repos","events_url":"https://api.github.com/users/TheBig159/events{/privacy}","received_events_url":"https://api.github.com/users/TheBig159/received_events","type":"User","site_admin":false},"body":"Changed GroupKey file type from int to string into HookMessage struct. With int when an alert was received an error was generated\r\n\"2018/04/23 12:11:39 error decoding message: json: cannot unmarshal string into Go struct field HookMessage.groupKey of type int\"\r\nChanged type to string it started to work fine.\r\nPrometheus version is 2.1","created_at":"2018-04-23T11:46:45Z","updated_at":"2018-04-24T11:28:25Z","closed_at":"2018-04-24T11:28:25Z","merged_at":"2018-04-24T11:28:25Z","merge_commit_sha":"06790dee162925b3e512b1e73997898b8d972b5d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/issues/1/comments","statuses_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/statuses/91caefe5ba14f5edb48a0ef8c3d9557b96d94a1a","head":{"label":"TheBig159:patch-1","ref":"patch-1","sha":"91caefe5ba14f5edb48a0ef8c3d9557b96d94a1a","user":{"login":"TheBig159","id":15776242,"avatar_url":"https://avatars1.githubusercontent.com/u/15776242?v=4","gravatar_id":"","url":"https://api.github.com/users/TheBig159","html_url":"https://github.com/TheBig159","followers_url":"https://api.github.com/users/TheBig159/followers","following_url":"https://api.github.com/users/TheBig159/following{/other_user}","gists_url":"https://api.github.com/users/TheBig159/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBig159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBig159/subscriptions","organizations_url":"https://api.github.com/users/TheBig159/orgs","repos_url":"https://api.github.com/users/TheBig159/repos","events_url":"https://api.github.com/users/TheBig159/events{/privacy}","received_events_url":"https://api.github.com/users/TheBig159/received_events","type":"User","site_admin":false},"repo":{"id":130687564,"name":"alertmanager-webhook-example","full_name":"TheBig159/alertmanager-webhook-example","owner":{"login":"TheBig159","id":15776242,"avatar_url":"https://avatars1.githubusercontent.com/u/15776242?v=4","gravatar_id":"","url":"https://api.github.com/users/TheBig159","html_url":"https://github.com/TheBig159","followers_url":"https://api.github.com/users/TheBig159/followers","following_url":"https://api.github.com/users/TheBig159/following{/other_user}","gists_url":"https://api.github.com/users/TheBig159/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBig159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBig159/subscriptions","organizations_url":"https://api.github.com/users/TheBig159/orgs","repos_url":"https://api.github.com/users/TheBig159/repos","events_url":"https://api.github.com/users/TheBig159/events{/privacy}","received_events_url":"https://api.github.com/users/TheBig159/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheBig159/alertmanager-webhook-example","description":"simple webhook receiver for Prometheus Alertmanager","fork":true,"url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example","forks_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/forks","keys_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/teams","hooks_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/hooks","issue_events_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/issues/events{/number}","events_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/events","assignees_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/assignees{/user}","branches_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/branches{/branch}","tags_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/tags","blobs_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/statuses/{sha}","languages_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/languages","stargazers_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/stargazers","contributors_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/contributors","subscribers_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/subscribers","subscription_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/subscription","commits_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/contents/{+path}","compare_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/merges","archive_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/downloads","issues_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/issues{/number}","pulls_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/pulls{/number}","milestones_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/milestones{/number}","notifications_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/labels{/name}","releases_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/releases{/id}","deployments_url":"https://api.github.com/repos/TheBig159/alertmanager-webhook-example/deployments","created_at":"2018-04-23T11:41:12Z","updated_at":"2018-04-23T11:41:13Z","pushed_at":"2018-04-23T11:44:50Z","git_url":"git://github.com/TheBig159/alertmanager-webhook-example.git","ssh_url":"git@github.com:TheBig159/alertmanager-webhook-example.git","clone_url":"https://github.com/TheBig159/alertmanager-webhook-example.git","svn_url":"https://github.com/TheBig159/alertmanager-webhook-example","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bakins:master","ref":"master","sha":"1be05de886f9ba371d8a1f2a2eec74b6f3868b95","user":{"login":"bakins","id":205350,"avatar_url":"https://avatars0.githubusercontent.com/u/205350?v=4","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"repo":{"id":80419158,"name":"alertmanager-webhook-example","full_name":"bakins/alertmanager-webhook-example","owner":{"login":"bakins","id":205350,"avatar_url":"https://avatars0.githubusercontent.com/u/205350?v=4","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bakins/alertmanager-webhook-example","description":"simple webhook receiver for Prometheus Alertmanager","fork":false,"url":"https://api.github.com/repos/bakins/alertmanager-webhook-example","forks_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/forks","keys_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/teams","hooks_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/hooks","issue_events_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/issues/events{/number}","events_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/events","assignees_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/assignees{/user}","branches_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/branches{/branch}","tags_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/tags","blobs_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/statuses/{sha}","languages_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/languages","stargazers_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/stargazers","contributors_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/contributors","subscribers_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/subscribers","subscription_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/subscription","commits_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/contents/{+path}","compare_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/merges","archive_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/downloads","issues_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/issues{/number}","pulls_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls{/number}","milestones_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/milestones{/number}","notifications_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/labels{/name}","releases_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/releases{/id}","deployments_url":"https://api.github.com/repos/bakins/alertmanager-webhook-example/deployments","created_at":"2017-01-30T12:23:51Z","updated_at":"2017-01-30T12:23:59Z","pushed_at":"2018-04-24T11:28:25Z","git_url":"git://github.com/bakins/alertmanager-webhook-example.git","ssh_url":"git@github.com:bakins/alertmanager-webhook-example.git","clone_url":"https://github.com/bakins/alertmanager-webhook-example.git","svn_url":"https://github.com/bakins/alertmanager-webhook-example","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":0,"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":3,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/1"},"html":{"href":"https://github.com/bakins/alertmanager-webhook-example/pull/1"},"issue":{"href":"https://api.github.com/repos/bakins/alertmanager-webhook-example/issues/1"},"comments":{"href":"https://api.github.com/repos/bakins/alertmanager-webhook-example/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bakins/alertmanager-webhook-example/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bakins/alertmanager-webhook-example/statuses/91caefe5ba14f5edb48a0ef8c3d9557b96d94a1a"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"bakins","id":205350,"avatar_url":"https://avatars0.githubusercontent.com/u/205350?v=4","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"bakins"}}