{"action":"created","comment":{"url":"https://api.github.com/repos/percona/pmm-client/pulls/comments/216592422","pull_request_review_id":154106631,"id":216592422,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjU5MjQyMg==","diff_hunk":"@@ -0,0 +1,241 @@\n+/*\n+\tCopyright (c) 2016, Percona LLC and/or its affiliates. All rights reserved.\n+\n+\tThis program is free software: you can redistribute it and/or modify\n+\tit under the terms of the GNU Affero General Public License as published by\n+\tthe Free Software Foundation, either version 3 of the License, or\n+\t(at your option) any later version.\n+\n+\tThis program is distributed in the hope that it will be useful,\n+\tbut WITHOUT ANY WARRANTY; without even the implied warranty of\n+\tMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+\tGNU Affero General Public License for more details.\n+\n+\tYou should have received a copy of the GNU Affero General Public License\n+\talong with this program.  If not, see <http://www.gnu.org/licenses/>\n+*/\n+\n+package pmm\n+\n+import (\n+\t\"fmt\"\n+\t\"os\"\n+\t\"os/exec\"\n+\t\"time\"\n+\t\"regexp\"\n+\t\"strings\"\n+\t\"io\"\n+\t\"archive/zip\"\n+\t\"path/filepath\"\n+)\n+\n+// Collector parameters and description.\n+type Collector struct {\n+        CollectorDescription\tstring\n+\tExecCommand\t\t[]string\n+\tOutputFileName\t\tstring\n+}\n+\n+// CollectData runs a command and collects output into a file.\n+func (c Collector) CollectData() {\n+        fmt.Printf(\"%s ... \",c.CollectorDescription)\n+\tdstfNetworks, err := os.OpenFile(c.OutputFileName, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0777)\n+\tif err != nil {\n+\t\tfmt.Printf(\"Skipped. Failed to create file %s with %s\\n\", c.OutputFileName, err)\n+        } else {\n+\t\tdefer dstfNetworks.Close()\n+\t\tcmd, err := exec.Command(c.ExecCommand[0], c.ExecCommand[1:]...).Output()\n+                if err != nil {\n+\t\t\tfmt.Printf(\"Skipped. Error collecting data by %s: %s\\n\",c.ExecCommand,err)\n+                } else {\n+\t\t\tif _, err := dstfNetworks.Write(cmd); err != nil {\n+\t\t\t\tfmt.Printf(\"Skipped. Failed to copy %s output into file %s\\n\",c.ExecCommand[0],c.OutputFileName)\n+\t\t\t} else {\n+\t\t\t\tfmt.Println(\"Done.\")\n+\t\t\t}\n+\t\t}\n+\t}\n+}\n+\n+// CheckInitType detects which system manager is running on Linux System.\n+func CheckInitType() string {\n+\tvar initType string\n+\tcmdSystemType, err := exec.Command(\"stat\", \"/proc/1/exe\").Output()\n+        if err != nil {\n+\t\tfmt.Println(\"Error exec command stat /proc/1/exe:\", err)\n+        } else {\n+                switch {\n+\t\t\tcase strings.Contains(string(cmdSystemType),\"/sbin/init\"):\n+\t\t\t\tinitType = \"init\"\n+\t\t\tcase strings.Contains(string(cmdSystemType),\"/usr/lib/systemd/systemd\"):\n+\t\t\t\tinitType = \"systemd\"\n+\t\t\tcase strings.Contains(string(cmdSystemType),\"/sbin/upstart\"):\n+\t\t\t\tinitType = \"upstart\"\n+\t\t}\n+\t}\n+\treturn initType\n+}\n+\n+// CheckMonitoredDBServices finds out what DB instances are monitored.\n+func CheckMonitoredDBServices() []string {\n+        var monitoredDBServices []string\n+        cmdPmmList, err := exec.Command(\"pmm-admin\",\"list\").Output()\n+        if err != nil {\n+                fmt.Println(\"Error exec pmm-admin list\", err)\n+        } else {\n+                switch {\n+                        case strings.Contains(string(cmdPmmList),\"mysql:metrics\"):\n+                                monitoredDBServices = append(monitoredDBServices, \"mysql\")\n+                        case strings.Contains(string(cmdPmmList),\"mongodb:metrics\"):\n+                                monitoredDBServices = append(monitoredDBServices, \"mongodb\")\n+                }\n+        }\n+        return monitoredDBServices\n+}\n+\n+// zipIt archives collected information.\n+func zipIt(source, target string) error {\n+\tzipfile, err := os.Create(target)\n+\tif err != nil {\n+\t\treturn err\n+\t}\n+\tdefer zipfile.Close()\n+\tarchive := zip.NewWriter(zipfile)\n+\tdefer archive.Close()\n+\tinfo, err := os.Stat(source)\n+\tif err != nil {\n+\t\treturn nil\n+\t}\n+\tvar baseDir string\n+\tif info.IsDir() {\n+\t\tbaseDir = filepath.Base(source)\n+\t}\n+\tfilepath.Walk(source, func(path string, info os.FileInfo, err error) error {\n+\t\tif err != nil {\n+\t\t\treturn err\n+\t\t}\n+\t\theader, err := zip.FileInfoHeader(info)\n+\t\tif err != nil {\n+\t\t\treturn err\n+\t\t}\n+\t\tif baseDir != \"\" {\n+\t\t\theader.Name = filepath.Join(baseDir, strings.TrimPrefix(path, source))\n+\t\t}\n+\t\tif info.IsDir() {\n+\t\t\theader.Name += \"/\"\n+\t\t} else {\n+\t\t\theader.Method = zip.Deflate\n+\t\t}\n+\t\twriter, err := archive.CreateHeader(header)\n+\t\tif err != nil {\n+\t\t\treturn err\n+\t\t}\n+\t\tif info.IsDir() {\n+\t\t\treturn nil\n+\t\t}\n+\t\tfile, err := os.Open(path)\n+\t\tif err != nil {\n+\t\t\treturn err\n+\t\t}\n+\t\tdefer file.Close()\n+\t\t_, err = io.Copy(writer, file)\n+\t\treturn err\n+\t})\n+\treturn err\n+}\n+\n+// CollectSummary get output of system and pmm utilites. \n+func (a *Admin) CollectSummary(mysqluser string, mysqlpassword string, mysqlport string, mysqlsocket string) error {\n+\tfmt.Println(\"\\nCollecting information for system diagnostic\")\n+        // Create a directory for collecting files\n+        currentTime := time.Now().Local()\n+        cmdHostname, err := exec.Command(\"hostname\").Output()","path":"pmm/summary.go","position":152,"original_position":152,"commit_id":"fe75c3a2b5d4ccfec38831ef090c4c25fffb85a0","original_commit_id":"fe75c3a2b5d4ccfec38831ef090c4c25fffb85a0","user":{"login":"AlekSi","id":11512,"node_id":"MDQ6VXNlcjExNTEy","avatar_url":"https://avatars1.githubusercontent.com/u/11512?v=4","gravatar_id":"","url":"https://api.github.com/users/AlekSi","html_url":"https://github.com/AlekSi","followers_url":"https://api.github.com/users/AlekSi/followers","following_url":"https://api.github.com/users/AlekSi/following{/other_user}","gists_url":"https://api.github.com/users/AlekSi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekSi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekSi/subscriptions","organizations_url":"https://api.github.com/users/AlekSi/orgs","repos_url":"https://api.github.com/users/AlekSi/repos","events_url":"https://api.github.com/users/AlekSi/events{/privacy}","received_events_url":"https://api.github.com/users/AlekSi/received_events","type":"User","site_admin":false},"body":"Good bot","created_at":"2018-09-11T08:52:39Z","updated_at":"2018-09-11T08:52:39Z","html_url":"https://github.com/percona/pmm-client/pull/170#discussion_r216592422","pull_request_url":"https://api.github.com/repos/percona/pmm-client/pulls/170","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/percona/pmm-client/pulls/comments/216592422"},"html":{"href":"https://github.com/percona/pmm-client/pull/170#discussion_r216592422"},"pull_request":{"href":"https://api.github.com/repos/percona/pmm-client/pulls/170"}},"in_reply_to_id":216591976},"pull_request":{"url":"https://api.github.com/repos/percona/pmm-client/pulls/170","id":214547835,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NTQ3ODM1","html_url":"https://github.com/percona/pmm-client/pull/170","diff_url":"https://github.com/percona/pmm-client/pull/170.diff","patch_url":"https://github.com/percona/pmm-client/pull/170.patch","issue_url":"https://api.github.com/repos/percona/pmm-client/issues/170","number":170,"state":"open","locked":false,"title":"Pmm 2860 improve pmm client diagnostics for support","user":{"login":"adivinho","id":25184101,"node_id":"MDQ6VXNlcjI1MTg0MTAx","avatar_url":"https://avatars1.githubusercontent.com/u/25184101?v=4","gravatar_id":"","url":"https://api.github.com/users/adivinho","html_url":"https://github.com/adivinho","followers_url":"https://api.github.com/users/adivinho/followers","following_url":"https://api.github.com/users/adivinho/following{/other_user}","gists_url":"https://api.github.com/users/adivinho/gists{/gist_id}","starred_url":"https://api.github.com/users/adivinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adivinho/subscriptions","organizations_url":"https://api.github.com/users/adivinho/orgs","repos_url":"https://api.github.com/users/adivinho/repos","events_url":"https://api.github.com/users/adivinho/events{/privacy}","received_events_url":"https://api.github.com/users/adivinho/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-11T08:13:30Z","updated_at":"2018-09-11T08:52:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee080af4ebd4163aaf5342a3875b5dee9aaf9bce","assignee":null,"assignees":[],"requested_reviewers":[{"login":"arvenil","id":450355,"node_id":"MDQ6VXNlcjQ1MDM1NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/450355?v=4","gravatar_id":"","url":"https://api.github.com/users/arvenil","html_url":"https://github.com/arvenil","followers_url":"https://api.github.com/users/arvenil/followers","following_url":"https://api.github.com/users/arvenil/following{/other_user}","gists_url":"https://api.github.com/users/arvenil/gists{/gist_id}","starred_url":"https://api.github.com/users/arvenil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvenil/subscriptions","organizations_url":"https://api.github.com/users/arvenil/orgs","repos_url":"https://api.github.com/users/arvenil/repos","events_url":"https://api.github.com/users/arvenil/events{/privacy}","received_events_url":"https://api.github.com/users/arvenil/received_events","type":"User","site_admin":false},{"login":"rnovikovP","id":25495422,"node_id":"MDQ6VXNlcjI1NDk1NDIy","avatar_url":"https://avatars0.githubusercontent.com/u/25495422?v=4","gravatar_id":"","url":"https://api.github.com/users/rnovikovP","html_url":"https://github.com/rnovikovP","followers_url":"https://api.github.com/users/rnovikovP/followers","following_url":"https://api.github.com/users/rnovikovP/following{/other_user}","gists_url":"https://api.github.com/users/rnovikovP/gists{/gist_id}","starred_url":"https://api.github.com/users/rnovikovP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnovikovP/subscriptions","organizations_url":"https://api.github.com/users/rnovikovP/orgs","repos_url":"https://api.github.com/users/rnovikovP/repos","events_url":"https://api.github.com/users/rnovikovP/events{/privacy}","received_events_url":"https://api.github.com/users/rnovikovP/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/percona/pmm-client/pulls/170/commits","review_comments_url":"https://api.github.com/repos/percona/pmm-client/pulls/170/comments","review_comment_url":"https://api.github.com/repos/percona/pmm-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/percona/pmm-client/issues/170/comments","statuses_url":"https://api.github.com/repos/percona/pmm-client/statuses/fe75c3a2b5d4ccfec38831ef090c4c25fffb85a0","head":{"label":"percona:PMM-2860-Improve-pmm-client-Diagnostics-for-Support","ref":"PMM-2860-Improve-pmm-client-Diagnostics-for-Support","sha":"fe75c3a2b5d4ccfec38831ef090c4c25fffb85a0","user":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":54662760,"node_id":"MDEwOlJlcG9zaXRvcnk1NDY2Mjc2MA==","name":"pmm-client","full_name":"percona/pmm-client","owner":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/percona/pmm-client","description":"PMM Client","fork":false,"url":"https://api.github.com/repos/percona/pmm-client","forks_url":"https://api.github.com/repos/percona/pmm-client/forks","keys_url":"https://api.github.com/repos/percona/pmm-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/pmm-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/pmm-client/teams","hooks_url":"https://api.github.com/repos/percona/pmm-client/hooks","issue_events_url":"https://api.github.com/repos/percona/pmm-client/issues/events{/number}","events_url":"https://api.github.com/repos/percona/pmm-client/events","assignees_url":"https://api.github.com/repos/percona/pmm-client/assignees{/user}","branches_url":"https://api.github.com/repos/percona/pmm-client/branches{/branch}","tags_url":"https://api.github.com/repos/percona/pmm-client/tags","blobs_url":"https://api.github.com/repos/percona/pmm-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/pmm-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/pmm-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/pmm-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/pmm-client/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/pmm-client/languages","stargazers_url":"https://api.github.com/repos/percona/pmm-client/stargazers","contributors_url":"https://api.github.com/repos/percona/pmm-client/contributors","subscribers_url":"https://api.github.com/repos/percona/pmm-client/subscribers","subscription_url":"https://api.github.com/repos/percona/pmm-client/subscription","commits_url":"https://api.github.com/repos/percona/pmm-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/pmm-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/pmm-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/pmm-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/pmm-client/contents/{+path}","compare_url":"https://api.github.com/repos/percona/pmm-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/pmm-client/merges","archive_url":"https://api.github.com/repos/percona/pmm-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/pmm-client/downloads","issues_url":"https://api.github.com/repos/percona/pmm-client/issues{/number}","pulls_url":"https://api.github.com/repos/percona/pmm-client/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/pmm-client/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/pmm-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/pmm-client/labels{/name}","releases_url":"https://api.github.com/repos/percona/pmm-client/releases{/id}","deployments_url":"https://api.github.com/repos/percona/pmm-client/deployments","created_at":"2016-03-24T17:54:55Z","updated_at":"2018-09-10T16:27:13Z","pushed_at":"2018-09-11T08:51:04Z","git_url":"git://github.com/percona/pmm-client.git","ssh_url":"git@github.com:percona/pmm-client.git","clone_url":"https://github.com/percona/pmm-client.git","svn_url":"https://github.com/percona/pmm-client","homepage":"https://percona.com/docs/pmm","size":31050,"stargazers_count":45,"watchers_count":45,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":22,"open_issues":15,"watchers":45,"default_branch":"master"}},"base":{"label":"percona:master","ref":"master","sha":"f7d7651a2bb98da1c3ab968665468bcb63028cac","user":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":54662760,"node_id":"MDEwOlJlcG9zaXRvcnk1NDY2Mjc2MA==","name":"pmm-client","full_name":"percona/pmm-client","owner":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/percona/pmm-client","description":"PMM Client","fork":false,"url":"https://api.github.com/repos/percona/pmm-client","forks_url":"https://api.github.com/repos/percona/pmm-client/forks","keys_url":"https://api.github.com/repos/percona/pmm-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/pmm-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/pmm-client/teams","hooks_url":"https://api.github.com/repos/percona/pmm-client/hooks","issue_events_url":"https://api.github.com/repos/percona/pmm-client/issues/events{/number}","events_url":"https://api.github.com/repos/percona/pmm-client/events","assignees_url":"https://api.github.com/repos/percona/pmm-client/assignees{/user}","branches_url":"https://api.github.com/repos/percona/pmm-client/branches{/branch}","tags_url":"https://api.github.com/repos/percona/pmm-client/tags","blobs_url":"https://api.github.com/repos/percona/pmm-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/pmm-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/pmm-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/pmm-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/pmm-client/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/pmm-client/languages","stargazers_url":"https://api.github.com/repos/percona/pmm-client/stargazers","contributors_url":"https://api.github.com/repos/percona/pmm-client/contributors","subscribers_url":"https://api.github.com/repos/percona/pmm-client/subscribers","subscription_url":"https://api.github.com/repos/percona/pmm-client/subscription","commits_url":"https://api.github.com/repos/percona/pmm-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/pmm-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/pmm-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/pmm-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/pmm-client/contents/{+path}","compare_url":"https://api.github.com/repos/percona/pmm-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/pmm-client/merges","archive_url":"https://api.github.com/repos/percona/pmm-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/pmm-client/downloads","issues_url":"https://api.github.com/repos/percona/pmm-client/issues{/number}","pulls_url":"https://api.github.com/repos/percona/pmm-client/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/pmm-client/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/pmm-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/pmm-client/labels{/name}","releases_url":"https://api.github.com/repos/percona/pmm-client/releases{/id}","deployments_url":"https://api.github.com/repos/percona/pmm-client/deployments","created_at":"2016-03-24T17:54:55Z","updated_at":"2018-09-10T16:27:13Z","pushed_at":"2018-09-11T08:51:04Z","git_url":"git://github.com/percona/pmm-client.git","ssh_url":"git@github.com:percona/pmm-client.git","clone_url":"https://github.com/percona/pmm-client.git","svn_url":"https://github.com/percona/pmm-client","homepage":"https://percona.com/docs/pmm","size":31050,"stargazers_count":45,"watchers_count":45,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":22,"open_issues":15,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/percona/pmm-client/pulls/170"},"html":{"href":"https://github.com/percona/pmm-client/pull/170"},"issue":{"href":"https://api.github.com/repos/percona/pmm-client/issues/170"},"comments":{"href":"https://api.github.com/repos/percona/pmm-client/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/percona/pmm-client/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/percona/pmm-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/percona/pmm-client/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/percona/pmm-client/statuses/fe75c3a2b5d4ccfec38831ef090c4c25fffb85a0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AlekSi"}}