{"action":"created","comment":{"url":"https://api.github.com/repos/openebs/maya/pulls/comments/178564719","pull_request_review_id":108640368,"id":178564719,"diff_hunk":"@@ -46,10 +46,10 @@ func NewCmdVolumeExporter() (*cobra.Command, error) {\n \toptions.MetricsPath = \"/metrics\"\n \tcmd := &cobra.Command{\n \t\tShort: \"Collect metrics from OpenEBS volumes\",\n-\t\tLong: `  maya-volume-exporter monitors openebs volumes and exporter the metrics.\n-  It starts collecting metrics from the jiva volume controller at the endpoint\n-  \"/v1/stats\" Prometheus Server can collect the metrics from maya-volume-exporter.`,\n-\t\tExample: `  maya-volume-exporter -a=http://localhost:8001 -c=:9500 -m=/metrics`,\n+\t\tLong: `maya-exporter monitors openebs volumes and export the metrics.\n+It starts collecting metrics from the jiva volume controller at the endpoint\n+\"/v1/stats\" Prometheus Server can collect the metrics from maya-exporter.`,","path":"cmd/maya-exporter/app/command/command.go","position":10,"original_position":10,"commit_id":"5387b420202bf398fe599388b9572219d06b2476","original_commit_id":"5387b420202bf398fe599388b9572219d06b2476","user":{"login":"kmova","id":12488783,"avatar_url":"https://avatars2.githubusercontent.com/u/12488783?v=4","gravatar_id":"","url":"https://api.github.com/users/kmova","html_url":"https://github.com/kmova","followers_url":"https://api.github.com/users/kmova/followers","following_url":"https://api.github.com/users/kmova/following{/other_user}","gists_url":"https://api.github.com/users/kmova/gists{/gist_id}","starred_url":"https://api.github.com/users/kmova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmova/subscriptions","organizations_url":"https://api.github.com/users/kmova/orgs","repos_url":"https://api.github.com/users/kmova/repos","events_url":"https://api.github.com/users/kmova/events{/privacy}","received_events_url":"https://api.github.com/users/kmova/received_events","type":"User","site_admin":false},"body":"remove the above line","created_at":"2018-04-02T15:13:03Z","updated_at":"2018-04-02T15:13:03Z","html_url":"https://github.com/openebs/maya/pull/292#discussion_r178564719","pull_request_url":"https://api.github.com/repos/openebs/maya/pulls/292","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/openebs/maya/pulls/comments/178564719"},"html":{"href":"https://github.com/openebs/maya/pull/292#discussion_r178564719"},"pull_request":{"href":"https://api.github.com/repos/openebs/maya/pulls/292"}}},"pull_request":{"url":"https://api.github.com/repos/openebs/maya/pulls/292","id":178791806,"html_url":"https://github.com/openebs/maya/pull/292","diff_url":"https://github.com/openebs/maya/pull/292.diff","patch_url":"https://github.com/openebs/maya/pull/292.patch","issue_url":"https://api.github.com/repos/openebs/maya/issues/292","number":292,"state":"open","locked":false,"title":"Rename maya-volume-exporter to maya-exporter","user":{"login":"utkarshmani1997","id":19219723,"avatar_url":"https://avatars2.githubusercontent.com/u/19219723?v=4","gravatar_id":"","url":"https://api.github.com/users/utkarshmani1997","html_url":"https://github.com/utkarshmani1997","followers_url":"https://api.github.com/users/utkarshmani1997/followers","following_url":"https://api.github.com/users/utkarshmani1997/following{/other_user}","gists_url":"https://api.github.com/users/utkarshmani1997/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshmani1997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshmani1997/subscriptions","organizations_url":"https://api.github.com/users/utkarshmani1997/orgs","repos_url":"https://api.github.com/users/utkarshmani1997/repos","events_url":"https://api.github.com/users/utkarshmani1997/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshmani1997/received_events","type":"User","site_admin":false},"body":"1. Why is this change necessary ?\r\n- Refer to issue openebs/openebs#1379\r\n\r\n2. How does this change address the issue ?\r\n- Rename maya-volume-exporter to maya-exporter wherever used in the code.\r\n- Rename the same in GNumakefile, buildscripts and Dockerfile.\r\n\r\n3. How to verify this change ?\r\n\r\n- Run `maya-exporter --help`\r\n- You should get the output similar to given below\r\n```\r\nmaya-exporter monitors openebs volumes and export the metrics.\r\nIt starts collecting metrics from the jiva volume controller at the endpoint\r\n\"/v1/stats\" Prometheus Server can collect the metrics from maya-exporter.\r\n\r\nUsage:\r\n   [flags]\r\n\r\nExamples:\r\nmaya-exporter -a=http://localhost:8001 -c=:9500 -m=/metrics\r\n\r\nFlags:\r\n      --alsologtostderr                  log to standard error as well as files\r\n  -c, --controller.addr string           Address of the Jiva volume controller. (default \"http://localhost:9501\")\r\n  -h, --help                             help for this command\r\n  -a, --listen.addr string               Address on which to expose metrics and web interface.) (default \":9500\")\r\n  -m, --listen.path string               Path under which to expose metrics. (default \"/metrics\")\r\n      --log-flush-frequency duration     Maximum number of seconds between log flushes (default 5s)\r\n      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)\r\n      --log_dir string                   If non-empty, write log files in this directory\r\n      --logtostderr                      log to standard error instead of files (default true)\r\n      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)\r\n  -v, --v Level                          log level for V logs\r\n      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging\r\n```\r\n\r\n4. What side effects does this change have ?\r\n- none\r\n\r\n5. Other details :\r\n- Improvement: openebs/openebs#1379\r\n\r\nSigned-off-by: Utkarsh Mani Tripathi <utkarshmani1997@gmail.com>","created_at":"2018-04-02T07:50:13Z","updated_at":"2018-04-02T15:13:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"511d73a1512d61c5a44888fd6e438af3d2b4b3d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openebs/maya/pulls/292/commits","review_comments_url":"https://api.github.com/repos/openebs/maya/pulls/292/comments","review_comment_url":"https://api.github.com/repos/openebs/maya/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openebs/maya/issues/292/comments","statuses_url":"https://api.github.com/repos/openebs/maya/statuses/5387b420202bf398fe599388b9572219d06b2476","head":{"label":"utkarshmani1997:rename-openebs/openebs#1379-exporter","ref":"rename-openebs/openebs#1379-exporter","sha":"5387b420202bf398fe599388b9572219d06b2476","user":{"login":"utkarshmani1997","id":19219723,"avatar_url":"https://avatars2.githubusercontent.com/u/19219723?v=4","gravatar_id":"","url":"https://api.github.com/users/utkarshmani1997","html_url":"https://github.com/utkarshmani1997","followers_url":"https://api.github.com/users/utkarshmani1997/followers","following_url":"https://api.github.com/users/utkarshmani1997/following{/other_user}","gists_url":"https://api.github.com/users/utkarshmani1997/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshmani1997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshmani1997/subscriptions","organizations_url":"https://api.github.com/users/utkarshmani1997/orgs","repos_url":"https://api.github.com/users/utkarshmani1997/repos","events_url":"https://api.github.com/users/utkarshmani1997/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshmani1997/received_events","type":"User","site_admin":false},"repo":{"id":93609216,"name":"maya","full_name":"utkarshmani1997/maya","owner":{"login":"utkarshmani1997","id":19219723,"avatar_url":"https://avatars2.githubusercontent.com/u/19219723?v=4","gravatar_id":"","url":"https://api.github.com/users/utkarshmani1997","html_url":"https://github.com/utkarshmani1997","followers_url":"https://api.github.com/users/utkarshmani1997/followers","following_url":"https://api.github.com/users/utkarshmani1997/following{/other_user}","gists_url":"https://api.github.com/users/utkarshmani1997/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshmani1997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshmani1997/subscriptions","organizations_url":"https://api.github.com/users/utkarshmani1997/orgs","repos_url":"https://api.github.com/users/utkarshmani1997/repos","events_url":"https://api.github.com/users/utkarshmani1997/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshmani1997/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/utkarshmani1997/maya","description":"OpenEBS storage orchestrator and infrastructure management engine, extending K8S and other to enable containerized storage for containers.","fork":true,"url":"https://api.github.com/repos/utkarshmani1997/maya","forks_url":"https://api.github.com/repos/utkarshmani1997/maya/forks","keys_url":"https://api.github.com/repos/utkarshmani1997/maya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utkarshmani1997/maya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utkarshmani1997/maya/teams","hooks_url":"https://api.github.com/repos/utkarshmani1997/maya/hooks","issue_events_url":"https://api.github.com/repos/utkarshmani1997/maya/issues/events{/number}","events_url":"https://api.github.com/repos/utkarshmani1997/maya/events","assignees_url":"https://api.github.com/repos/utkarshmani1997/maya/assignees{/user}","branches_url":"https://api.github.com/repos/utkarshmani1997/maya/branches{/branch}","tags_url":"https://api.github.com/repos/utkarshmani1997/maya/tags","blobs_url":"https://api.github.com/repos/utkarshmani1997/maya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utkarshmani1997/maya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utkarshmani1997/maya/git/refs{/sha}","trees_url":"https://api.github.com/repos/utkarshmani1997/maya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utkarshmani1997/maya/statuses/{sha}","languages_url":"https://api.github.com/repos/utkarshmani1997/maya/languages","stargazers_url":"https://api.github.com/repos/utkarshmani1997/maya/stargazers","contributors_url":"https://api.github.com/repos/utkarshmani1997/maya/contributors","subscribers_url":"https://api.github.com/repos/utkarshmani1997/maya/subscribers","subscription_url":"https://api.github.com/repos/utkarshmani1997/maya/subscription","commits_url":"https://api.github.com/repos/utkarshmani1997/maya/commits{/sha}","git_commits_url":"https://api.github.com/repos/utkarshmani1997/maya/git/commits{/sha}","comments_url":"https://api.github.com/repos/utkarshmani1997/maya/comments{/number}","issue_comment_url":"https://api.github.com/repos/utkarshmani1997/maya/issues/comments{/number}","contents_url":"https://api.github.com/repos/utkarshmani1997/maya/contents/{+path}","compare_url":"https://api.github.com/repos/utkarshmani1997/maya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utkarshmani1997/maya/merges","archive_url":"https://api.github.com/repos/utkarshmani1997/maya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utkarshmani1997/maya/downloads","issues_url":"https://api.github.com/repos/utkarshmani1997/maya/issues{/number}","pulls_url":"https://api.github.com/repos/utkarshmani1997/maya/pulls{/number}","milestones_url":"https://api.github.com/repos/utkarshmani1997/maya/milestones{/number}","notifications_url":"https://api.github.com/repos/utkarshmani1997/maya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utkarshmani1997/maya/labels{/name}","releases_url":"https://api.github.com/repos/utkarshmani1997/maya/releases{/id}","deployments_url":"https://api.github.com/repos/utkarshmani1997/maya/deployments","created_at":"2017-06-07T08:06:12Z","updated_at":"2017-06-07T08:06:14Z","pushed_at":"2018-04-02T13:18:42Z","git_url":"git://github.com/utkarshmani1997/maya.git","ssh_url":"git@github.com:utkarshmani1997/maya.git","clone_url":"https://github.com/utkarshmani1997/maya.git","svn_url":"https://github.com/utkarshmani1997/maya","homepage":"","size":97975,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openebs:master","ref":"master","sha":"a226805745bab099268624adb03276e8b6eef7d0","user":{"login":"openebs","id":20769039,"avatar_url":"https://avatars0.githubusercontent.com/u/20769039?v=4","gravatar_id":"","url":"https://api.github.com/users/openebs","html_url":"https://github.com/openebs","followers_url":"https://api.github.com/users/openebs/followers","following_url":"https://api.github.com/users/openebs/following{/other_user}","gists_url":"https://api.github.com/users/openebs/gists{/gist_id}","starred_url":"https://api.github.com/users/openebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openebs/subscriptions","organizations_url":"https://api.github.com/users/openebs/orgs","repos_url":"https://api.github.com/users/openebs/repos","events_url":"https://api.github.com/users/openebs/events{/privacy}","received_events_url":"https://api.github.com/users/openebs/received_events","type":"Organization","site_admin":false},"repo":{"id":70136587,"name":"maya","full_name":"openebs/maya","owner":{"login":"openebs","id":20769039,"avatar_url":"https://avatars0.githubusercontent.com/u/20769039?v=4","gravatar_id":"","url":"https://api.github.com/users/openebs","html_url":"https://github.com/openebs","followers_url":"https://api.github.com/users/openebs/followers","following_url":"https://api.github.com/users/openebs/following{/other_user}","gists_url":"https://api.github.com/users/openebs/gists{/gist_id}","starred_url":"https://api.github.com/users/openebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openebs/subscriptions","organizations_url":"https://api.github.com/users/openebs/orgs","repos_url":"https://api.github.com/users/openebs/repos","events_url":"https://api.github.com/users/openebs/events{/privacy}","received_events_url":"https://api.github.com/users/openebs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openebs/maya","description":"OpenEBS Maya extends Kubernetes capabilities to orchestrate CAS containers.","fork":false,"url":"https://api.github.com/repos/openebs/maya","forks_url":"https://api.github.com/repos/openebs/maya/forks","keys_url":"https://api.github.com/repos/openebs/maya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openebs/maya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openebs/maya/teams","hooks_url":"https://api.github.com/repos/openebs/maya/hooks","issue_events_url":"https://api.github.com/repos/openebs/maya/issues/events{/number}","events_url":"https://api.github.com/repos/openebs/maya/events","assignees_url":"https://api.github.com/repos/openebs/maya/assignees{/user}","branches_url":"https://api.github.com/repos/openebs/maya/branches{/branch}","tags_url":"https://api.github.com/repos/openebs/maya/tags","blobs_url":"https://api.github.com/repos/openebs/maya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openebs/maya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openebs/maya/git/refs{/sha}","trees_url":"https://api.github.com/repos/openebs/maya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openebs/maya/statuses/{sha}","languages_url":"https://api.github.com/repos/openebs/maya/languages","stargazers_url":"https://api.github.com/repos/openebs/maya/stargazers","contributors_url":"https://api.github.com/repos/openebs/maya/contributors","subscribers_url":"https://api.github.com/repos/openebs/maya/subscribers","subscription_url":"https://api.github.com/repos/openebs/maya/subscription","commits_url":"https://api.github.com/repos/openebs/maya/commits{/sha}","git_commits_url":"https://api.github.com/repos/openebs/maya/git/commits{/sha}","comments_url":"https://api.github.com/repos/openebs/maya/comments{/number}","issue_comment_url":"https://api.github.com/repos/openebs/maya/issues/comments{/number}","contents_url":"https://api.github.com/repos/openebs/maya/contents/{+path}","compare_url":"https://api.github.com/repos/openebs/maya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openebs/maya/merges","archive_url":"https://api.github.com/repos/openebs/maya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openebs/maya/downloads","issues_url":"https://api.github.com/repos/openebs/maya/issues{/number}","pulls_url":"https://api.github.com/repos/openebs/maya/pulls{/number}","milestones_url":"https://api.github.com/repos/openebs/maya/milestones{/number}","notifications_url":"https://api.github.com/repos/openebs/maya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openebs/maya/labels{/name}","releases_url":"https://api.github.com/repos/openebs/maya/releases{/id}","deployments_url":"https://api.github.com/repos/openebs/maya/deployments","created_at":"2016-10-06T08:34:13Z","updated_at":"2018-04-02T15:00:28Z","pushed_at":"2018-04-02T15:00:26Z","git_url":"git://github.com/openebs/maya.git","ssh_url":"git@github.com:openebs/maya.git","clone_url":"https://github.com/openebs/maya.git","svn_url":"https://github.com/openebs/maya","homepage":"https://docs.openebs.io","size":94770,"stargazers_count":90,"watchers_count":90,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":79,"open_issues":38,"watchers":90,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openebs/maya/pulls/292"},"html":{"href":"https://github.com/openebs/maya/pull/292"},"issue":{"href":"https://api.github.com/repos/openebs/maya/issues/292"},"comments":{"href":"https://api.github.com/repos/openebs/maya/issues/292/comments"},"review_comments":{"href":"https://api.github.com/repos/openebs/maya/pulls/292/comments"},"review_comment":{"href":"https://api.github.com/repos/openebs/maya/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openebs/maya/pulls/292/commits"},"statuses":{"href":"https://api.github.com/repos/openebs/maya/statuses/5387b420202bf398fe599388b9572219d06b2476"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kmova"}}