{"action":"created","comment":{"url":"https://api.github.com/repos/bromagosa/snapCloud/pulls/comments/175037320","pull_request_review_id":104502235,"id":175037320,"diff_hunk":"@@ -73,6 +74,13 @@ http {\n         location /static/ {\n             alias static/;\n         }\n+\n+        # nginx server status used for monitoring\n+        location /nginx_status {\n+            stub_status on;","path":"nginx.conf","position":15,"original_position":15,"commit_id":"22373d2d4a2628b1c5de38875a5ab758906e4b26","original_commit_id":"22373d2d4a2628b1c5de38875a5ab758906e4b26","user":{"login":"cycomachead","id":1505907,"avatar_url":"https://avatars0.githubusercontent.com/u/1505907?v=4","gravatar_id":"","url":"https://api.github.com/users/cycomachead","html_url":"https://github.com/cycomachead","followers_url":"https://api.github.com/users/cycomachead/followers","following_url":"https://api.github.com/users/cycomachead/following{/other_user}","gists_url":"https://api.github.com/users/cycomachead/gists{/gist_id}","starred_url":"https://api.github.com/users/cycomachead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycomachead/subscriptions","organizations_url":"https://api.github.com/users/cycomachead/orgs","repos_url":"https://api.github.com/users/cycomachead/repos","events_url":"https://api.github.com/users/cycomachead/events{/privacy}","received_events_url":"https://api.github.com/users/cycomachead/received_events","type":"User","site_admin":false},"body":"No worries. :)\r\n\r\nProbably a good thing to make sure we're all on the same version anyway. ;)","created_at":"2018-03-16T09:39:02Z","updated_at":"2018-03-16T09:39:02Z","html_url":"https://github.com/bromagosa/snapCloud/pull/55#discussion_r175037320","pull_request_url":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/bromagosa/snapCloud/pulls/comments/175037320"},"html":{"href":"https://github.com/bromagosa/snapCloud/pull/55#discussion_r175037320"},"pull_request":{"href":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55"}},"in_reply_to_id":175030159},"pull_request":{"url":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55","id":174599273,"html_url":"https://github.com/bromagosa/snapCloud/pull/55","diff_url":"https://github.com/bromagosa/snapCloud/pull/55.diff","patch_url":"https://github.com/bromagosa/snapCloud/pull/55.patch","issue_url":"https://api.github.com/repos/bromagosa/snapCloud/issues/55","number":55,"state":"closed","locked":false,"title":"Add a monitoring endpoint","user":{"login":"cycomachead","id":1505907,"avatar_url":"https://avatars0.githubusercontent.com/u/1505907?v=4","gravatar_id":"","url":"https://api.github.com/users/cycomachead","html_url":"https://github.com/cycomachead","followers_url":"https://api.github.com/users/cycomachead/followers","following_url":"https://api.github.com/users/cycomachead/following{/other_user}","gists_url":"https://api.github.com/users/cycomachead/gists{/gist_id}","starred_url":"https://api.github.com/users/cycomachead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycomachead/subscriptions","organizations_url":"https://api.github.com/users/cycomachead/orgs","repos_url":"https://api.github.com/users/cycomachead/repos","events_url":"https://api.github.com/users/cycomachead/events{/privacy}","received_events_url":"https://api.github.com/users/cycomachead/received_events","type":"User","site_admin":false},"body":"This is a built-in nginx feature which reports active server stats,\nmost useful is the number of current connections.\nWhen on the server you can see the data by doing `curl http://127.0.0.1/nginx_status`.\n\nThis is also what allows the amplify agent to pickup some data.","created_at":"2018-03-13T09:24:35Z","updated_at":"2018-03-16T09:39:02Z","closed_at":"2018-03-15T11:17:14Z","merged_at":"2018-03-15T11:17:13Z","merge_commit_sha":"20ef4b9a773f04fc6e2460f0999d9b5407ea349e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55/commits","review_comments_url":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55/comments","review_comment_url":"https://api.github.com/repos/bromagosa/snapCloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bromagosa/snapCloud/issues/55/comments","statuses_url":"https://api.github.com/repos/bromagosa/snapCloud/statuses/22373d2d4a2628b1c5de38875a5ab758906e4b26","head":{"label":"bromagosa:monitoring","ref":"monitoring","sha":"22373d2d4a2628b1c5de38875a5ab758906e4b26","user":{"login":"bromagosa","id":1016697,"avatar_url":"https://avatars1.githubusercontent.com/u/1016697?v=4","gravatar_id":"","url":"https://api.github.com/users/bromagosa","html_url":"https://github.com/bromagosa","followers_url":"https://api.github.com/users/bromagosa/followers","following_url":"https://api.github.com/users/bromagosa/following{/other_user}","gists_url":"https://api.github.com/users/bromagosa/gists{/gist_id}","starred_url":"https://api.github.com/users/bromagosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bromagosa/subscriptions","organizations_url":"https://api.github.com/users/bromagosa/orgs","repos_url":"https://api.github.com/users/bromagosa/repos","events_url":"https://api.github.com/users/bromagosa/events{/privacy}","received_events_url":"https://api.github.com/users/bromagosa/received_events","type":"User","site_admin":false},"repo":{"id":105046034,"name":"snapCloud","full_name":"bromagosa/snapCloud","owner":{"login":"bromagosa","id":1016697,"avatar_url":"https://avatars1.githubusercontent.com/u/1016697?v=4","gravatar_id":"","url":"https://api.github.com/users/bromagosa","html_url":"https://github.com/bromagosa","followers_url":"https://api.github.com/users/bromagosa/followers","following_url":"https://api.github.com/users/bromagosa/following{/other_user}","gists_url":"https://api.github.com/users/bromagosa/gists{/gist_id}","starred_url":"https://api.github.com/users/bromagosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bromagosa/subscriptions","organizations_url":"https://api.github.com/users/bromagosa/orgs","repos_url":"https://api.github.com/users/bromagosa/repos","events_url":"https://api.github.com/users/bromagosa/events{/privacy}","received_events_url":"https://api.github.com/users/bromagosa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bromagosa/snapCloud","description":"Hopefully the definitive Snap! Cloud","fork":false,"url":"https://api.github.com/repos/bromagosa/snapCloud","forks_url":"https://api.github.com/repos/bromagosa/snapCloud/forks","keys_url":"https://api.github.com/repos/bromagosa/snapCloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bromagosa/snapCloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bromagosa/snapCloud/teams","hooks_url":"https://api.github.com/repos/bromagosa/snapCloud/hooks","issue_events_url":"https://api.github.com/repos/bromagosa/snapCloud/issues/events{/number}","events_url":"https://api.github.com/repos/bromagosa/snapCloud/events","assignees_url":"https://api.github.com/repos/bromagosa/snapCloud/assignees{/user}","branches_url":"https://api.github.com/repos/bromagosa/snapCloud/branches{/branch}","tags_url":"https://api.github.com/repos/bromagosa/snapCloud/tags","blobs_url":"https://api.github.com/repos/bromagosa/snapCloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bromagosa/snapCloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bromagosa/snapCloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/bromagosa/snapCloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bromagosa/snapCloud/statuses/{sha}","languages_url":"https://api.github.com/repos/bromagosa/snapCloud/languages","stargazers_url":"https://api.github.com/repos/bromagosa/snapCloud/stargazers","contributors_url":"https://api.github.com/repos/bromagosa/snapCloud/contributors","subscribers_url":"https://api.github.com/repos/bromagosa/snapCloud/subscribers","subscription_url":"https://api.github.com/repos/bromagosa/snapCloud/subscription","commits_url":"https://api.github.com/repos/bromagosa/snapCloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/bromagosa/snapCloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/bromagosa/snapCloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/bromagosa/snapCloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/bromagosa/snapCloud/contents/{+path}","compare_url":"https://api.github.com/repos/bromagosa/snapCloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bromagosa/snapCloud/merges","archive_url":"https://api.github.com/repos/bromagosa/snapCloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bromagosa/snapCloud/downloads","issues_url":"https://api.github.com/repos/bromagosa/snapCloud/issues{/number}","pulls_url":"https://api.github.com/repos/bromagosa/snapCloud/pulls{/number}","milestones_url":"https://api.github.com/repos/bromagosa/snapCloud/milestones{/number}","notifications_url":"https://api.github.com/repos/bromagosa/snapCloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bromagosa/snapCloud/labels{/name}","releases_url":"https://api.github.com/repos/bromagosa/snapCloud/releases{/id}","deployments_url":"https://api.github.com/repos/bromagosa/snapCloud/deployments","created_at":"2017-09-27T17:06:37Z","updated_at":"2018-03-16T09:12:55Z","pushed_at":"2018-03-16T09:12:54Z","git_url":"git://github.com/bromagosa/snapCloud.git","ssh_url":"git@github.com:bromagosa/snapCloud.git","clone_url":"https://github.com/bromagosa/snapCloud.git","svn_url":"https://github.com/bromagosa/snapCloud","homepage":null,"size":141,"stargazers_count":3,"watchers_count":3,"language":"Lua","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":24,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":3,"open_issues":24,"watchers":3,"default_branch":"master"}},"base":{"label":"bromagosa:master","ref":"master","sha":"2ca1e6c05c4fb00336c267a5b7f3a2e4ac1224a9","user":{"login":"bromagosa","id":1016697,"avatar_url":"https://avatars1.githubusercontent.com/u/1016697?v=4","gravatar_id":"","url":"https://api.github.com/users/bromagosa","html_url":"https://github.com/bromagosa","followers_url":"https://api.github.com/users/bromagosa/followers","following_url":"https://api.github.com/users/bromagosa/following{/other_user}","gists_url":"https://api.github.com/users/bromagosa/gists{/gist_id}","starred_url":"https://api.github.com/users/bromagosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bromagosa/subscriptions","organizations_url":"https://api.github.com/users/bromagosa/orgs","repos_url":"https://api.github.com/users/bromagosa/repos","events_url":"https://api.github.com/users/bromagosa/events{/privacy}","received_events_url":"https://api.github.com/users/bromagosa/received_events","type":"User","site_admin":false},"repo":{"id":105046034,"name":"snapCloud","full_name":"bromagosa/snapCloud","owner":{"login":"bromagosa","id":1016697,"avatar_url":"https://avatars1.githubusercontent.com/u/1016697?v=4","gravatar_id":"","url":"https://api.github.com/users/bromagosa","html_url":"https://github.com/bromagosa","followers_url":"https://api.github.com/users/bromagosa/followers","following_url":"https://api.github.com/users/bromagosa/following{/other_user}","gists_url":"https://api.github.com/users/bromagosa/gists{/gist_id}","starred_url":"https://api.github.com/users/bromagosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bromagosa/subscriptions","organizations_url":"https://api.github.com/users/bromagosa/orgs","repos_url":"https://api.github.com/users/bromagosa/repos","events_url":"https://api.github.com/users/bromagosa/events{/privacy}","received_events_url":"https://api.github.com/users/bromagosa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bromagosa/snapCloud","description":"Hopefully the definitive Snap! Cloud","fork":false,"url":"https://api.github.com/repos/bromagosa/snapCloud","forks_url":"https://api.github.com/repos/bromagosa/snapCloud/forks","keys_url":"https://api.github.com/repos/bromagosa/snapCloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bromagosa/snapCloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bromagosa/snapCloud/teams","hooks_url":"https://api.github.com/repos/bromagosa/snapCloud/hooks","issue_events_url":"https://api.github.com/repos/bromagosa/snapCloud/issues/events{/number}","events_url":"https://api.github.com/repos/bromagosa/snapCloud/events","assignees_url":"https://api.github.com/repos/bromagosa/snapCloud/assignees{/user}","branches_url":"https://api.github.com/repos/bromagosa/snapCloud/branches{/branch}","tags_url":"https://api.github.com/repos/bromagosa/snapCloud/tags","blobs_url":"https://api.github.com/repos/bromagosa/snapCloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bromagosa/snapCloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bromagosa/snapCloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/bromagosa/snapCloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bromagosa/snapCloud/statuses/{sha}","languages_url":"https://api.github.com/repos/bromagosa/snapCloud/languages","stargazers_url":"https://api.github.com/repos/bromagosa/snapCloud/stargazers","contributors_url":"https://api.github.com/repos/bromagosa/snapCloud/contributors","subscribers_url":"https://api.github.com/repos/bromagosa/snapCloud/subscribers","subscription_url":"https://api.github.com/repos/bromagosa/snapCloud/subscription","commits_url":"https://api.github.com/repos/bromagosa/snapCloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/bromagosa/snapCloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/bromagosa/snapCloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/bromagosa/snapCloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/bromagosa/snapCloud/contents/{+path}","compare_url":"https://api.github.com/repos/bromagosa/snapCloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bromagosa/snapCloud/merges","archive_url":"https://api.github.com/repos/bromagosa/snapCloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bromagosa/snapCloud/downloads","issues_url":"https://api.github.com/repos/bromagosa/snapCloud/issues{/number}","pulls_url":"https://api.github.com/repos/bromagosa/snapCloud/pulls{/number}","milestones_url":"https://api.github.com/repos/bromagosa/snapCloud/milestones{/number}","notifications_url":"https://api.github.com/repos/bromagosa/snapCloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bromagosa/snapCloud/labels{/name}","releases_url":"https://api.github.com/repos/bromagosa/snapCloud/releases{/id}","deployments_url":"https://api.github.com/repos/bromagosa/snapCloud/deployments","created_at":"2017-09-27T17:06:37Z","updated_at":"2018-03-16T09:12:55Z","pushed_at":"2018-03-16T09:12:54Z","git_url":"git://github.com/bromagosa/snapCloud.git","ssh_url":"git@github.com:bromagosa/snapCloud.git","clone_url":"https://github.com/bromagosa/snapCloud.git","svn_url":"https://github.com/bromagosa/snapCloud","homepage":null,"size":141,"stargazers_count":3,"watchers_count":3,"language":"Lua","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":24,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":3,"open_issues":24,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55"},"html":{"href":"https://github.com/bromagosa/snapCloud/pull/55"},"issue":{"href":"https://api.github.com/repos/bromagosa/snapCloud/issues/55"},"comments":{"href":"https://api.github.com/repos/bromagosa/snapCloud/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/bromagosa/snapCloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bromagosa/snapCloud/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/bromagosa/snapCloud/statuses/22373d2d4a2628b1c5de38875a5ab758906e4b26"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"cycomachead"}}