{"action":"created","comment":{"url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/comments/203949078","pull_request_review_id":138941122,"id":203949078,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzk0OTA3OA==","diff_hunk":"@@ -0,0 +1,204 @@\n+package main\n+\n+import (\n+\t\"bytes\"\n+\t\"context\"\n+\t\"fmt\"\n+\t\"net\"\n+\t\"net/http\"\n+\t\"os\"\n+\t\"os/signal\"\n+\t\"sort\"\n+\t\"strings\"\n+\t\"sync\"\n+\t\"syscall\"\n+\n+\t\"github.com/golang/protobuf/proto\"\n+\t\"github.com/juju/errors\"\n+\t\"github.com/ngaut/log\"\n+\t\"github.com/pingcap/kvproto/pkg/debugpb\"\n+\t\"github.com/pingcap/tidb-inspect-tools/pkg/utils\"\n+\t\"github.com/prometheus/client_golang/prometheus\"\n+\t\"github.com/prometheus/client_golang/prometheus/promhttp\"\n+\tdto \"github.com/prometheus/client_model/go\"\n+\t\"github.com/prometheus/common/expfmt\"\n+\t\"google.golang.org/grpc\"\n+\t\"gopkg.in/alecthomas/kingpin.v2\"\n+)\n+\n+var (\n+\tstores = []string{}\n+)\n+\n+type tikvOpts struct {\n+\taddrs string\n+}\n+\n+// ParseHostPortAddr returns a host:port list\n+func ParseHostPortAddr(s string) ([]string, error) {\n+\tstrs := strings.Split(s, \",\")\n+\taddrs := make([]string, 0, len(strs))\n+\n+\tfor _, str := range strs {\n+\t\tstr = strings.TrimSpace(str)\n+\n+\t\t_, _, err := net.SplitHostPort(str)\n+\t\tif err != nil {\n+\t\t\treturn nil, errors.Annotatef(err, `tikv.addrs does not have the form \"host:port\": %s`, str)\n+\t\t}\n+\n+\t\taddrs = append(addrs, str)\n+\t}\n+\n+\treturn addrs, nil\n+}\n+\n+func checkFlags(opts tikvOpts) {\n+\tif opts.addrs == \"\" {\n+\t\tlog.Fatal(\"missing startup flag: --tikv.addrs\")\n+\t}\n+}\n+\n+func sanitizeLabels(\n+\tmetricFamilies map[string]*dto.MetricFamily,\n+\tgroupingLabels map[string]string,\n+) {\n+\tfor _, mf := range metricFamilies {\n+\t\tfor _, m := range mf.GetMetric() {\n+\t\t\tfor key, value := range groupingLabels {\n+\t\t\t\tl := &dto.LabelPair{\n+\t\t\t\t\tName:  proto.String(key),\n+\t\t\t\t\tValue: proto.String(value),\n+\t\t\t\t}\n+\t\t\t\tm.Label = append(m.Label, l)\n+\t\t\t}\n+\t\t\tsort.Sort(prometheus.LabelPairSorter(m.Label))\n+\t\t}\n+\t}\n+}\n+\n+func getMetricFamilies() []*dto.MetricFamily {\n+\twg := sync.WaitGroup{}\n+\tmutex := &sync.Mutex{}\n+\tctx := context.Background()\n+\tallMetrics := make([]*dto.MetricFamily, 0, 1024)\n+\n+\tgetStoreMetrics := func(store string) {\n+\t\tdefer wg.Done()\n+\n+\t\ttikvConn, err := grpc.Dial(store, grpc.WithInsecure())\n+\t\tif err != nil {\n+\t\t\tlog.Errorf(\"store '%s', grpc dial error, %v\", store, err)\n+\t\t\treturn\n+\t\t}\n+\t\tdefer tikvConn.Close()\n+\n+\t\ttikvClient := debugpb.NewDebugClient(tikvConn)\n+\t\tmetrics, err := tikvClient.GetMetrics(ctx, &debugpb.GetMetricsRequest{})\n+\t\tif err != nil {\n+\t\t\tlog.Errorf(\"store '%s', get metrics error, %v\", store, err)\n+\t\t\treturn\n+\t\t}\n+\n+\t\tmData := metrics.GetPrometheus()\n+\t\tstoreID := metrics.GetStoreId()\n+\n+\t\tlabels := map[string]string{\n+\t\t\t\"job\":      fmt.Sprintf(\"tikv_%d\", storeID),\n+\t\t\t\"instance\": store,\n+\t\t}\n+\n+\t\tvar parser expfmt.TextParser\n+\t\tmetricFamilies, err := parser.TextToMetricFamilies(bytes.NewBufferString(mData))\n+\t\tif err != nil {\n+\t\t\tlog.Errorf(\"store '%s', TextToMetricFamilies error, %v\", store, err)\n+\t\t\treturn\n+\t\t}\n+\n+\t\tsanitizeLabels(metricFamilies, labels)\n+\n+\t\tmutex.Lock()\n+\t\tfor _, m := range metricFamilies {\n+\t\t\tallMetrics = append(allMetrics, m)\n+\t\t}\n+\t\tmutex.Unlock()\n+\t}\n+\n+\tfor _, store := range stores {\n+\t\twg.Add(1)","path":"tikv_metrics_proxy/main.go","position":128,"original_position":128,"commit_id":"0f0bce3da2da5e3ec64b11ec5697b1ed2c2c15a8","original_commit_id":"acad10bd4e374ba1b60ad6983bddaefdaf16c5ac","user":{"login":"GregoryIan","id":10701973,"node_id":"MDQ6VXNlcjEwNzAxOTcz","avatar_url":"https://avatars3.githubusercontent.com/u/10701973?v=4","gravatar_id":"","url":"https://api.github.com/users/GregoryIan","html_url":"https://github.com/GregoryIan","followers_url":"https://api.github.com/users/GregoryIan/followers","following_url":"https://api.github.com/users/GregoryIan/following{/other_user}","gists_url":"https://api.github.com/users/GregoryIan/gists{/gist_id}","starred_url":"https://api.github.com/users/GregoryIan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregoryIan/subscriptions","organizations_url":"https://api.github.com/users/GregoryIan/orgs","repos_url":"https://api.github.com/users/GregoryIan/repos","events_url":"https://api.github.com/users/GregoryIan/events{/privacy}","received_events_url":"https://api.github.com/users/GregoryIan/received_events","type":"User","site_admin":false},"body":"No need to call `go` and `wait` to control signle process","created_at":"2018-07-20T06:33:31Z","updated_at":"2018-07-20T06:35:39Z","html_url":"https://github.com/pingcap/tidb-inspect-tools/pull/41#discussion_r203949078","pull_request_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/comments/203949078"},"html":{"href":"https://github.com/pingcap/tidb-inspect-tools/pull/41#discussion_r203949078"},"pull_request":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41","id":202516338,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNTE2MzM4","html_url":"https://github.com/pingcap/tidb-inspect-tools/pull/41","diff_url":"https://github.com/pingcap/tidb-inspect-tools/pull/41.diff","patch_url":"https://github.com/pingcap/tidb-inspect-tools/pull/41.patch","issue_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/issues/41","number":41,"state":"open","locked":false,"title":"add tikv metrics proxy","user":{"login":"LinuxGit","id":1552622,"node_id":"MDQ6VXNlcjE1NTI2MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1552622?v=4","gravatar_id":"","url":"https://api.github.com/users/LinuxGit","html_url":"https://github.com/LinuxGit","followers_url":"https://api.github.com/users/LinuxGit/followers","following_url":"https://api.github.com/users/LinuxGit/following{/other_user}","gists_url":"https://api.github.com/users/LinuxGit/gists{/gist_id}","starred_url":"https://api.github.com/users/LinuxGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinuxGit/subscriptions","organizations_url":"https://api.github.com/users/LinuxGit/orgs","repos_url":"https://api.github.com/users/LinuxGit/repos","events_url":"https://api.github.com/users/LinuxGit/events{/privacy}","received_events_url":"https://api.github.com/users/LinuxGit/received_events","type":"User","site_admin":false},"body":"TiKV metrics proxy is a proxy for the TiKV server's prometheus metrics. The `tikv_metrics_proxy` exposes metrics via HTTP on the `/metrics` endpoint. ","created_at":"2018-07-19T10:35:58Z","updated_at":"2018-07-20T06:35:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20985f3eec248f36adbac559d59410b8dab7e442","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41/commits","review_comments_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41/comments","review_comment_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/issues/41/comments","statuses_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/statuses/0f0bce3da2da5e3ec64b11ec5697b1ed2c2c15a8","head":{"label":"LinuxGit:Louis/add_tikv_metrics_proxy","ref":"Louis/add_tikv_metrics_proxy","sha":"0f0bce3da2da5e3ec64b11ec5697b1ed2c2c15a8","user":{"login":"LinuxGit","id":1552622,"node_id":"MDQ6VXNlcjE1NTI2MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1552622?v=4","gravatar_id":"","url":"https://api.github.com/users/LinuxGit","html_url":"https://github.com/LinuxGit","followers_url":"https://api.github.com/users/LinuxGit/followers","following_url":"https://api.github.com/users/LinuxGit/following{/other_user}","gists_url":"https://api.github.com/users/LinuxGit/gists{/gist_id}","starred_url":"https://api.github.com/users/LinuxGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinuxGit/subscriptions","organizations_url":"https://api.github.com/users/LinuxGit/orgs","repos_url":"https://api.github.com/users/LinuxGit/repos","events_url":"https://api.github.com/users/LinuxGit/events{/privacy}","received_events_url":"https://api.github.com/users/LinuxGit/received_events","type":"User","site_admin":false},"repo":{"id":119155283,"node_id":"MDEwOlJlcG9zaXRvcnkxMTkxNTUyODM=","name":"tidb-inspect-tools","full_name":"LinuxGit/tidb-inspect-tools","owner":{"login":"LinuxGit","id":1552622,"node_id":"MDQ6VXNlcjE1NTI2MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1552622?v=4","gravatar_id":"","url":"https://api.github.com/users/LinuxGit","html_url":"https://github.com/LinuxGit","followers_url":"https://api.github.com/users/LinuxGit/followers","following_url":"https://api.github.com/users/LinuxGit/following{/other_user}","gists_url":"https://api.github.com/users/LinuxGit/gists{/gist_id}","starred_url":"https://api.github.com/users/LinuxGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinuxGit/subscriptions","organizations_url":"https://api.github.com/users/LinuxGit/orgs","repos_url":"https://api.github.com/users/LinuxGit/repos","events_url":"https://api.github.com/users/LinuxGit/events{/privacy}","received_events_url":"https://api.github.com/users/LinuxGit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LinuxGit/tidb-inspect-tools","description":null,"fork":true,"url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools","forks_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/forks","keys_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/teams","hooks_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/hooks","issue_events_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/issues/events{/number}","events_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/events","assignees_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/assignees{/user}","branches_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/branches{/branch}","tags_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/tags","blobs_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/languages","stargazers_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/stargazers","contributors_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/contributors","subscribers_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/subscribers","subscription_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/subscription","commits_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/contents/{+path}","compare_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/merges","archive_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/downloads","issues_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/issues{/number}","pulls_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/labels{/name}","releases_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/releases{/id}","deployments_url":"https://api.github.com/repos/LinuxGit/tidb-inspect-tools/deployments","created_at":"2018-01-27T10:42:28Z","updated_at":"2018-07-10T16:03:05Z","pushed_at":"2018-07-20T06:28:53Z","git_url":"git://github.com/LinuxGit/tidb-inspect-tools.git","ssh_url":"git@github.com:LinuxGit/tidb-inspect-tools.git","clone_url":"https://github.com/LinuxGit/tidb-inspect-tools.git","svn_url":"https://github.com/LinuxGit/tidb-inspect-tools","homepage":null,"size":22733,"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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"41e04554cb28d9470197a53e84fe26ec073d6c52","user":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":112446956,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI0NDY5NTY=","name":"tidb-inspect-tools","full_name":"pingcap/tidb-inspect-tools","owner":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingcap/tidb-inspect-tools","description":null,"fork":false,"url":"https://api.github.com/repos/pingcap/tidb-inspect-tools","forks_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/forks","keys_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/teams","hooks_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/hooks","issue_events_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/events","assignees_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/tags","blobs_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/languages","stargazers_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/stargazers","contributors_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/contributors","subscribers_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/subscribers","subscription_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/subscription","commits_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/merges","archive_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/downloads","issues_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/tidb-inspect-tools/deployments","created_at":"2017-11-29T08:19:05Z","updated_at":"2018-07-20T02:17:30Z","pushed_at":"2018-07-20T06:28:54Z","git_url":"git://github.com/pingcap/tidb-inspect-tools.git","ssh_url":"git@github.com:pingcap/tidb-inspect-tools.git","clone_url":"https://github.com/pingcap/tidb-inspect-tools.git","svn_url":"https://github.com/pingcap/tidb-inspect-tools","homepage":null,"size":20742,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41"},"html":{"href":"https://github.com/pingcap/tidb-inspect-tools/pull/41"},"issue":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/issues/41"},"comments":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/tidb-inspect-tools/statuses/0f0bce3da2da5e3ec64b11ec5697b1ed2c2c15a8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"GregoryIan"}}