{"action":"closed","number":544,"pull_request":{"url":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/544","id":215144122,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MTQ0MTIy","html_url":"https://github.com/open-falcon/falcon-plus/pull/544","diff_url":"https://github.com/open-falcon/falcon-plus/pull/544.diff","patch_url":"https://github.com/open-falcon/falcon-plus/pull/544.patch","issue_url":"https://api.github.com/repos/open-falcon/falcon-plus/issues/544","number":544,"state":"closed","locked":false,"title":"增加多种插件输出格式支持","user":{"login":"jinxingxing","id":2339647,"node_id":"MDQ6VXNlcjIzMzk2NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/2339647?v=4","gravatar_id":"","url":"https://api.github.com/users/jinxingxing","html_url":"https://github.com/jinxingxing","followers_url":"https://api.github.com/users/jinxingxing/followers","following_url":"https://api.github.com/users/jinxingxing/following{/other_user}","gists_url":"https://api.github.com/users/jinxingxing/gists{/gist_id}","starred_url":"https://api.github.com/users/jinxingxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinxingxing/subscriptions","organizations_url":"https://api.github.com/users/jinxingxing/orgs","repos_url":"https://api.github.com/users/jinxingxing/repos","events_url":"https://api.github.com/users/jinxingxing/events{/privacy}","received_events_url":"https://api.github.com/users/jinxingxing/received_events","type":"User","site_admin":false},"body":"现在的插件只支持输出 json 数组这一种格式，这在用 shell 编写插件时会比较麻烦，所以增加了几种输出格式的支持。新版本插件支持以下的输出格式(2,3 格式可以混用):\r\n1.  插件整体输出 json 数组\r\n2. 插件一行输出一个 json 对象\r\n3. 插件一行输出一个以空格分隔的监控指标, 可选格式:\r\n    1. metric value\r\n    2. metric tag1=v1,tag2=v2 value\r\n    3. metric tag1=v1,tag2=v2 value timestamp\r\n    4. metric value timestamp\r\n\r\n更详细的格式示例参见: `modules/agent/plugins/scheduler_test.go`\r\n","created_at":"2018-09-13T02:04:34Z","updated_at":"2018-10-26T15:37:27Z","closed_at":"2018-10-26T15:37:26Z","merged_at":null,"merge_commit_sha":"2e59e3c8179b6fe2ba5f3e35fd9ed2d9a939315e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/544/commits","review_comments_url":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/544/comments","review_comment_url":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-falcon/falcon-plus/issues/544/comments","statuses_url":"https://api.github.com/repos/open-falcon/falcon-plus/statuses/8cd132f8117e94a3be1b8a45b1c16d9eb43e9ba0","head":{"label":"jinxingxing:master","ref":"master","sha":"8cd132f8117e94a3be1b8a45b1c16d9eb43e9ba0","user":{"login":"jinxingxing","id":2339647,"node_id":"MDQ6VXNlcjIzMzk2NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/2339647?v=4","gravatar_id":"","url":"https://api.github.com/users/jinxingxing","html_url":"https://github.com/jinxingxing","followers_url":"https://api.github.com/users/jinxingxing/followers","following_url":"https://api.github.com/users/jinxingxing/following{/other_user}","gists_url":"https://api.github.com/users/jinxingxing/gists{/gist_id}","starred_url":"https://api.github.com/users/jinxingxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinxingxing/subscriptions","organizations_url":"https://api.github.com/users/jinxingxing/orgs","repos_url":"https://api.github.com/users/jinxingxing/repos","events_url":"https://api.github.com/users/jinxingxing/events{/privacy}","received_events_url":"https://api.github.com/users/jinxingxing/received_events","type":"User","site_admin":false},"repo":{"id":86693013,"node_id":"MDEwOlJlcG9zaXRvcnk4NjY5MzAxMw==","name":"falcon-plus","full_name":"jinxingxing/falcon-plus","private":false,"owner":{"login":"jinxingxing","id":2339647,"node_id":"MDQ6VXNlcjIzMzk2NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/2339647?v=4","gravatar_id":"","url":"https://api.github.com/users/jinxingxing","html_url":"https://github.com/jinxingxing","followers_url":"https://api.github.com/users/jinxingxing/followers","following_url":"https://api.github.com/users/jinxingxing/following{/other_user}","gists_url":"https://api.github.com/users/jinxingxing/gists{/gist_id}","starred_url":"https://api.github.com/users/jinxingxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinxingxing/subscriptions","organizations_url":"https://api.github.com/users/jinxingxing/orgs","repos_url":"https://api.github.com/users/jinxingxing/repos","events_url":"https://api.github.com/users/jinxingxing/events{/privacy}","received_events_url":"https://api.github.com/users/jinxingxing/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jinxingxing/falcon-plus","description":"An open-source and enterprise-level monitoring system. ","fork":true,"url":"https://api.github.com/repos/jinxingxing/falcon-plus","forks_url":"https://api.github.com/repos/jinxingxing/falcon-plus/forks","keys_url":"https://api.github.com/repos/jinxingxing/falcon-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jinxingxing/falcon-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jinxingxing/falcon-plus/teams","hooks_url":"https://api.github.com/repos/jinxingxing/falcon-plus/hooks","issue_events_url":"https://api.github.com/repos/jinxingxing/falcon-plus/issues/events{/number}","events_url":"https://api.github.com/repos/jinxingxing/falcon-plus/events","assignees_url":"https://api.github.com/repos/jinxingxing/falcon-plus/assignees{/user}","branches_url":"https://api.github.com/repos/jinxingxing/falcon-plus/branches{/branch}","tags_url":"https://api.github.com/repos/jinxingxing/falcon-plus/tags","blobs_url":"https://api.github.com/repos/jinxingxing/falcon-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jinxingxing/falcon-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jinxingxing/falcon-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/jinxingxing/falcon-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jinxingxing/falcon-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/jinxingxing/falcon-plus/languages","stargazers_url":"https://api.github.com/repos/jinxingxing/falcon-plus/stargazers","contributors_url":"https://api.github.com/repos/jinxingxing/falcon-plus/contributors","subscribers_url":"https://api.github.com/repos/jinxingxing/falcon-plus/subscribers","subscription_url":"https://api.github.com/repos/jinxingxing/falcon-plus/subscription","commits_url":"https://api.github.com/repos/jinxingxing/falcon-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/jinxingxing/falcon-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/jinxingxing/falcon-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/jinxingxing/falcon-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/jinxingxing/falcon-plus/contents/{+path}","compare_url":"https://api.github.com/repos/jinxingxing/falcon-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jinxingxing/falcon-plus/merges","archive_url":"https://api.github.com/repos/jinxingxing/falcon-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jinxingxing/falcon-plus/downloads","issues_url":"https://api.github.com/repos/jinxingxing/falcon-plus/issues{/number}","pulls_url":"https://api.github.com/repos/jinxingxing/falcon-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/jinxingxing/falcon-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/jinxingxing/falcon-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jinxingxing/falcon-plus/labels{/name}","releases_url":"https://api.github.com/repos/jinxingxing/falcon-plus/releases{/id}","deployments_url":"https://api.github.com/repos/jinxingxing/falcon-plus/deployments","created_at":"2017-03-30T11:04:05Z","updated_at":"2018-09-13T03:13:37Z","pushed_at":"2018-09-13T03:13:34Z","git_url":"git://github.com/jinxingxing/falcon-plus.git","ssh_url":"git@github.com:jinxingxing/falcon-plus.git","clone_url":"https://github.com/jinxingxing/falcon-plus.git","svn_url":"https://github.com/jinxingxing/falcon-plus","homepage":"http://open-falcon.com","size":15936,"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":"open-falcon:master","ref":"master","sha":"83c2b4eb45c05f99a50e07467c4b7e5793a36609","user":{"login":"open-falcon","id":9738246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MzgyNDY=","avatar_url":"https://avatars0.githubusercontent.com/u/9738246?v=4","gravatar_id":"","url":"https://api.github.com/users/open-falcon","html_url":"https://github.com/open-falcon","followers_url":"https://api.github.com/users/open-falcon/followers","following_url":"https://api.github.com/users/open-falcon/following{/other_user}","gists_url":"https://api.github.com/users/open-falcon/gists{/gist_id}","starred_url":"https://api.github.com/users/open-falcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-falcon/subscriptions","organizations_url":"https://api.github.com/users/open-falcon/orgs","repos_url":"https://api.github.com/users/open-falcon/repos","events_url":"https://api.github.com/users/open-falcon/events{/privacy}","received_events_url":"https://api.github.com/users/open-falcon/received_events","type":"Organization","site_admin":false},"repo":{"id":55850689,"node_id":"MDEwOlJlcG9zaXRvcnk1NTg1MDY4OQ==","name":"falcon-plus","full_name":"open-falcon/falcon-plus","private":false,"owner":{"login":"open-falcon","id":9738246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3MzgyNDY=","avatar_url":"https://avatars0.githubusercontent.com/u/9738246?v=4","gravatar_id":"","url":"https://api.github.com/users/open-falcon","html_url":"https://github.com/open-falcon","followers_url":"https://api.github.com/users/open-falcon/followers","following_url":"https://api.github.com/users/open-falcon/following{/other_user}","gists_url":"https://api.github.com/users/open-falcon/gists{/gist_id}","starred_url":"https://api.github.com/users/open-falcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-falcon/subscriptions","organizations_url":"https://api.github.com/users/open-falcon/orgs","repos_url":"https://api.github.com/users/open-falcon/repos","events_url":"https://api.github.com/users/open-falcon/events{/privacy}","received_events_url":"https://api.github.com/users/open-falcon/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/open-falcon/falcon-plus","description":" An open-source and enterprise-level monitoring system.","fork":false,"url":"https://api.github.com/repos/open-falcon/falcon-plus","forks_url":"https://api.github.com/repos/open-falcon/falcon-plus/forks","keys_url":"https://api.github.com/repos/open-falcon/falcon-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-falcon/falcon-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-falcon/falcon-plus/teams","hooks_url":"https://api.github.com/repos/open-falcon/falcon-plus/hooks","issue_events_url":"https://api.github.com/repos/open-falcon/falcon-plus/issues/events{/number}","events_url":"https://api.github.com/repos/open-falcon/falcon-plus/events","assignees_url":"https://api.github.com/repos/open-falcon/falcon-plus/assignees{/user}","branches_url":"https://api.github.com/repos/open-falcon/falcon-plus/branches{/branch}","tags_url":"https://api.github.com/repos/open-falcon/falcon-plus/tags","blobs_url":"https://api.github.com/repos/open-falcon/falcon-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-falcon/falcon-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-falcon/falcon-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-falcon/falcon-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-falcon/falcon-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/open-falcon/falcon-plus/languages","stargazers_url":"https://api.github.com/repos/open-falcon/falcon-plus/stargazers","contributors_url":"https://api.github.com/repos/open-falcon/falcon-plus/contributors","subscribers_url":"https://api.github.com/repos/open-falcon/falcon-plus/subscribers","subscription_url":"https://api.github.com/repos/open-falcon/falcon-plus/subscription","commits_url":"https://api.github.com/repos/open-falcon/falcon-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-falcon/falcon-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-falcon/falcon-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-falcon/falcon-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-falcon/falcon-plus/contents/{+path}","compare_url":"https://api.github.com/repos/open-falcon/falcon-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-falcon/falcon-plus/merges","archive_url":"https://api.github.com/repos/open-falcon/falcon-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-falcon/falcon-plus/downloads","issues_url":"https://api.github.com/repos/open-falcon/falcon-plus/issues{/number}","pulls_url":"https://api.github.com/repos/open-falcon/falcon-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/open-falcon/falcon-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/open-falcon/falcon-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-falcon/falcon-plus/labels{/name}","releases_url":"https://api.github.com/repos/open-falcon/falcon-plus/releases{/id}","deployments_url":"https://api.github.com/repos/open-falcon/falcon-plus/deployments","created_at":"2016-04-09T15:06:29Z","updated_at":"2018-10-26T15:35:57Z","pushed_at":"2018-10-26T15:35:51Z","git_url":"git://github.com/open-falcon/falcon-plus.git","ssh_url":"git@github.com:open-falcon/falcon-plus.git","clone_url":"https://github.com/open-falcon/falcon-plus.git","svn_url":"https://github.com/open-falcon/falcon-plus","homepage":"http://open-falcon.com","size":15952,"stargazers_count":3713,"watchers_count":3713,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":865,"mirror_url":null,"archived":false,"open_issues_count":121,"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":865,"open_issues":121,"watchers":3713,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/544"},"html":{"href":"https://github.com/open-falcon/falcon-plus/pull/544"},"issue":{"href":"https://api.github.com/repos/open-falcon/falcon-plus/issues/544"},"comments":{"href":"https://api.github.com/repos/open-falcon/falcon-plus/issues/544/comments"},"review_comments":{"href":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/544/comments"},"review_comment":{"href":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-falcon/falcon-plus/pulls/544/commits"},"statuses":{"href":"https://api.github.com/repos/open-falcon/falcon-plus/statuses/8cd132f8117e94a3be1b8a45b1c16d9eb43e9ba0"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":201,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"laiwei"}}