{"action":"created","comment":{"url":"https://api.github.com/repos/prometheus/prometheus/pulls/comments/116032877","pull_request_review_id":37623882,"id":116032877,"diff_hunk":"@@ -0,0 +1,20 @@\n+// Copyright 2017 The Prometheus Authors\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+// +build !linux\n+\n+package main\n+\n+// Uname for any platform other than linux\n+func Uname() string {\n+\treturn \"(Printing uname isn't yet supported on this platform)\"","path":"cmd/prometheus/uname_default.go","position":19,"original_position":19,"commit_id":"23d934a67810c6272bfdea82ab700d40fb62abfd","original_commit_id":"23d934a67810c6272bfdea82ab700d40fb62abfd","user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars3.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},"body":"Something is better than nothing. Knowing that a user is running Windows is valuable for certain problems for example.","created_at":"2017-05-11T16:09:03Z","updated_at":"2017-05-11T16:09:03Z","html_url":"https://github.com/prometheus/prometheus/pull/2709#discussion_r116032877","pull_request_url":"https://api.github.com/repos/prometheus/prometheus/pulls/2709","_links":{"self":{"href":"https://api.github.com/repos/prometheus/prometheus/pulls/comments/116032877"},"html":{"href":"https://github.com/prometheus/prometheus/pull/2709#discussion_r116032877"},"pull_request":{"href":"https://api.github.com/repos/prometheus/prometheus/pulls/2709"}}},"pull_request":{"url":"https://api.github.com/repos/prometheus/prometheus/pulls/2709","id":120124534,"html_url":"https://github.com/prometheus/prometheus/pull/2709","diff_url":"https://github.com/prometheus/prometheus/pull/2709.diff","patch_url":"https://github.com/prometheus/prometheus/pull/2709.patch","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/2709","number":2709,"state":"open","locked":false,"title":"Print system information (uname) at Prometheus startup","user":{"login":"CrazyByDefault","id":22311967,"avatar_url":"https://avatars1.githubusercontent.com/u/22311967?v=3","gravatar_id":"","url":"https://api.github.com/users/CrazyByDefault","html_url":"https://github.com/CrazyByDefault","followers_url":"https://api.github.com/users/CrazyByDefault/followers","following_url":"https://api.github.com/users/CrazyByDefault/following{/other_user}","gists_url":"https://api.github.com/users/CrazyByDefault/gists{/gist_id}","starred_url":"https://api.github.com/users/CrazyByDefault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrazyByDefault/subscriptions","organizations_url":"https://api.github.com/users/CrazyByDefault/orgs","repos_url":"https://api.github.com/users/CrazyByDefault/repos","events_url":"https://api.github.com/users/CrazyByDefault/events{/privacy}","received_events_url":"https://api.github.com/users/CrazyByDefault/received_events","type":"User","site_admin":false},"body":"fixes #1480 \r\n\r\nThis PR prints the output of Go's `syscall.Uname()` on startup for Linux machines.\r\n\r\n@brian-brazil ","created_at":"2017-05-11T14:43:45Z","updated_at":"2017-05-11T16:09:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d9463cef13b646f60887596379a0bb463af266a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/prometheus/prometheus/pulls/2709/commits","review_comments_url":"https://api.github.com/repos/prometheus/prometheus/pulls/2709/comments","review_comment_url":"https://api.github.com/repos/prometheus/prometheus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/2709/comments","statuses_url":"https://api.github.com/repos/prometheus/prometheus/statuses/23d934a67810c6272bfdea82ab700d40fb62abfd","head":{"label":"CrazyByDefault:master","ref":"master","sha":"23d934a67810c6272bfdea82ab700d40fb62abfd","user":{"login":"CrazyByDefault","id":22311967,"avatar_url":"https://avatars1.githubusercontent.com/u/22311967?v=3","gravatar_id":"","url":"https://api.github.com/users/CrazyByDefault","html_url":"https://github.com/CrazyByDefault","followers_url":"https://api.github.com/users/CrazyByDefault/followers","following_url":"https://api.github.com/users/CrazyByDefault/following{/other_user}","gists_url":"https://api.github.com/users/CrazyByDefault/gists{/gist_id}","starred_url":"https://api.github.com/users/CrazyByDefault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrazyByDefault/subscriptions","organizations_url":"https://api.github.com/users/CrazyByDefault/orgs","repos_url":"https://api.github.com/users/CrazyByDefault/repos","events_url":"https://api.github.com/users/CrazyByDefault/events{/privacy}","received_events_url":"https://api.github.com/users/CrazyByDefault/received_events","type":"User","site_admin":false},"repo":{"id":90779517,"name":"prometheus","full_name":"CrazyByDefault/prometheus","owner":{"login":"CrazyByDefault","id":22311967,"avatar_url":"https://avatars1.githubusercontent.com/u/22311967?v=3","gravatar_id":"","url":"https://api.github.com/users/CrazyByDefault","html_url":"https://github.com/CrazyByDefault","followers_url":"https://api.github.com/users/CrazyByDefault/followers","following_url":"https://api.github.com/users/CrazyByDefault/following{/other_user}","gists_url":"https://api.github.com/users/CrazyByDefault/gists{/gist_id}","starred_url":"https://api.github.com/users/CrazyByDefault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrazyByDefault/subscriptions","organizations_url":"https://api.github.com/users/CrazyByDefault/orgs","repos_url":"https://api.github.com/users/CrazyByDefault/repos","events_url":"https://api.github.com/users/CrazyByDefault/events{/privacy}","received_events_url":"https://api.github.com/users/CrazyByDefault/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CrazyByDefault/prometheus","description":"The Prometheus monitoring system and time series database.","fork":true,"url":"https://api.github.com/repos/CrazyByDefault/prometheus","forks_url":"https://api.github.com/repos/CrazyByDefault/prometheus/forks","keys_url":"https://api.github.com/repos/CrazyByDefault/prometheus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CrazyByDefault/prometheus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CrazyByDefault/prometheus/teams","hooks_url":"https://api.github.com/repos/CrazyByDefault/prometheus/hooks","issue_events_url":"https://api.github.com/repos/CrazyByDefault/prometheus/issues/events{/number}","events_url":"https://api.github.com/repos/CrazyByDefault/prometheus/events","assignees_url":"https://api.github.com/repos/CrazyByDefault/prometheus/assignees{/user}","branches_url":"https://api.github.com/repos/CrazyByDefault/prometheus/branches{/branch}","tags_url":"https://api.github.com/repos/CrazyByDefault/prometheus/tags","blobs_url":"https://api.github.com/repos/CrazyByDefault/prometheus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CrazyByDefault/prometheus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CrazyByDefault/prometheus/git/refs{/sha}","trees_url":"https://api.github.com/repos/CrazyByDefault/prometheus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CrazyByDefault/prometheus/statuses/{sha}","languages_url":"https://api.github.com/repos/CrazyByDefault/prometheus/languages","stargazers_url":"https://api.github.com/repos/CrazyByDefault/prometheus/stargazers","contributors_url":"https://api.github.com/repos/CrazyByDefault/prometheus/contributors","subscribers_url":"https://api.github.com/repos/CrazyByDefault/prometheus/subscribers","subscription_url":"https://api.github.com/repos/CrazyByDefault/prometheus/subscription","commits_url":"https://api.github.com/repos/CrazyByDefault/prometheus/commits{/sha}","git_commits_url":"https://api.github.com/repos/CrazyByDefault/prometheus/git/commits{/sha}","comments_url":"https://api.github.com/repos/CrazyByDefault/prometheus/comments{/number}","issue_comment_url":"https://api.github.com/repos/CrazyByDefault/prometheus/issues/comments{/number}","contents_url":"https://api.github.com/repos/CrazyByDefault/prometheus/contents/{+path}","compare_url":"https://api.github.com/repos/CrazyByDefault/prometheus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CrazyByDefault/prometheus/merges","archive_url":"https://api.github.com/repos/CrazyByDefault/prometheus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CrazyByDefault/prometheus/downloads","issues_url":"https://api.github.com/repos/CrazyByDefault/prometheus/issues{/number}","pulls_url":"https://api.github.com/repos/CrazyByDefault/prometheus/pulls{/number}","milestones_url":"https://api.github.com/repos/CrazyByDefault/prometheus/milestones{/number}","notifications_url":"https://api.github.com/repos/CrazyByDefault/prometheus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CrazyByDefault/prometheus/labels{/name}","releases_url":"https://api.github.com/repos/CrazyByDefault/prometheus/releases{/id}","deployments_url":"https://api.github.com/repos/CrazyByDefault/prometheus/deployments","created_at":"2017-05-09T18:35:29Z","updated_at":"2017-05-09T18:35:32Z","pushed_at":"2017-05-11T14:55:40Z","git_url":"git://github.com/CrazyByDefault/prometheus.git","ssh_url":"git@github.com:CrazyByDefault/prometheus.git","clone_url":"https://github.com/CrazyByDefault/prometheus.git","svn_url":"https://github.com/CrazyByDefault/prometheus","homepage":"https://prometheus.io/","size":21851,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prometheus:master","ref":"master","sha":"f160f17a6f13583c45b693550e3f8066cbaf330e","user":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars0.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":6838921,"name":"prometheus","full_name":"prometheus/prometheus","owner":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars0.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prometheus/prometheus","description":"The Prometheus monitoring system and time series database.","fork":false,"url":"https://api.github.com/repos/prometheus/prometheus","forks_url":"https://api.github.com/repos/prometheus/prometheus/forks","keys_url":"https://api.github.com/repos/prometheus/prometheus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/prometheus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/prometheus/teams","hooks_url":"https://api.github.com/repos/prometheus/prometheus/hooks","issue_events_url":"https://api.github.com/repos/prometheus/prometheus/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/prometheus/events","assignees_url":"https://api.github.com/repos/prometheus/prometheus/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/prometheus/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/prometheus/tags","blobs_url":"https://api.github.com/repos/prometheus/prometheus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/prometheus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/prometheus/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/prometheus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/prometheus/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/prometheus/languages","stargazers_url":"https://api.github.com/repos/prometheus/prometheus/stargazers","contributors_url":"https://api.github.com/repos/prometheus/prometheus/contributors","subscribers_url":"https://api.github.com/repos/prometheus/prometheus/subscribers","subscription_url":"https://api.github.com/repos/prometheus/prometheus/subscription","commits_url":"https://api.github.com/repos/prometheus/prometheus/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/prometheus/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/prometheus/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/prometheus/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/prometheus/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/prometheus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/prometheus/merges","archive_url":"https://api.github.com/repos/prometheus/prometheus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/prometheus/downloads","issues_url":"https://api.github.com/repos/prometheus/prometheus/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/prometheus/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/prometheus/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/prometheus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/prometheus/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/prometheus/releases{/id}","deployments_url":"https://api.github.com/repos/prometheus/prometheus/deployments","created_at":"2012-11-24T11:14:12Z","updated_at":"2017-05-11T15:37:01Z","pushed_at":"2017-05-11T16:03:01Z","git_url":"git://github.com/prometheus/prometheus.git","ssh_url":"git@github.com:prometheus/prometheus.git","clone_url":"https://github.com/prometheus/prometheus.git","svn_url":"https://github.com/prometheus/prometheus","homepage":"https://prometheus.io/","size":22812,"stargazers_count":9453,"watchers_count":9453,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1002,"mirror_url":null,"open_issues_count":211,"forks":1002,"open_issues":211,"watchers":9453,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prometheus/prometheus/pulls/2709"},"html":{"href":"https://github.com/prometheus/prometheus/pull/2709"},"issue":{"href":"https://api.github.com/repos/prometheus/prometheus/issues/2709"},"comments":{"href":"https://api.github.com/repos/prometheus/prometheus/issues/2709/comments"},"review_comments":{"href":"https://api.github.com/repos/prometheus/prometheus/pulls/2709/comments"},"review_comment":{"href":"https://api.github.com/repos/prometheus/prometheus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prometheus/prometheus/pulls/2709/commits"},"statuses":{"href":"https://api.github.com/repos/prometheus/prometheus/statuses/23d934a67810c6272bfdea82ab700d40fb62abfd"}}}}
{"actor":{"display_login":"brian-brazil"}}