{"action":"created","issue":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/1312","labels_url":"https://api.github.com/repos/gearpump/gearpump/issues/1312/labels{/name}","comments_url":"https://api.github.com/repos/gearpump/gearpump/issues/1312/comments","events_url":"https://api.github.com/repos/gearpump/gearpump/issues/1312/events","html_url":"https://github.com/gearpump/gearpump/pull/1312","id":100810634,"number":1312,"title":"fix #601, 1. add jvm metrics 2. add master and worker metrics.","user":{"login":"clockfly","id":2595532,"avatar_url":"https://avatars.githubusercontent.com/u/2595532?v=3","gravatar_id":"","url":"https://api.github.com/users/clockfly","html_url":"https://github.com/clockfly","followers_url":"https://api.github.com/users/clockfly/followers","following_url":"https://api.github.com/users/clockfly/following{/other_user}","gists_url":"https://api.github.com/users/clockfly/gists{/gist_id}","starred_url":"https://api.github.com/users/clockfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clockfly/subscriptions","organizations_url":"https://api.github.com/users/clockfly/orgs","repos_url":"https://api.github.com/users/clockfly/repos","events_url":"https://api.github.com/users/clockfly/events{/privacy}","received_events_url":"https://api.github.com/users/clockfly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T16:16:10Z","updated_at":"2015-08-13T16:21:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gearpump/gearpump/pulls/1312","html_url":"https://github.com/gearpump/gearpump/pull/1312","diff_url":"https://github.com/gearpump/gearpump/pull/1312.diff","patch_url":"https://github.com/gearpump/gearpump/pull/1312.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/gearpump/gearpump/issues/comments/130749276","html_url":"https://github.com/gearpump/gearpump/pull/1312#issuecomment-130749276","issue_url":"https://api.github.com/repos/gearpump/gearpump/issues/1312","id":130749276,"user":{"login":"clockfly","id":2595532,"avatar_url":"https://avatars.githubusercontent.com/u/2595532?v=3","gravatar_id":"","url":"https://api.github.com/users/clockfly","html_url":"https://github.com/clockfly","followers_url":"https://api.github.com/users/clockfly/followers","following_url":"https://api.github.com/users/clockfly/following{/other_user}","gists_url":"https://api.github.com/users/clockfly/gists{/gist_id}","starred_url":"https://api.github.com/users/clockfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clockfly/subscriptions","organizations_url":"https://api.github.com/users/clockfly/orgs","repos_url":"https://api.github.com/users/clockfly/repos","events_url":"https://api.github.com/users/clockfly/events{/privacy}","received_events_url":"https://api.github.com/users/clockfly/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T16:21:24Z","updated_at":"2015-08-13T16:21:24Z","body":"This is part of the UI version 2.\r\n\r\nChanges:\r\n\r\n1). add metrics for master, worker, and appmaster.\r\n(query parameter readLastest=true will only read the lastest metric data, no history)\r\nRest API for mater: \r\nhttp://127.0.0.1:8090/api/v1.0/master/metrics/<metrics_path>\r\n\r\nRest API for worker: \r\nhttp://127.0.0.1:8090/api/v1.0/worker/<workerId>/metrics/<metrics_path>\r\n\r\nRest API for appmaster: \r\nhttp://127.0.0.1:8090/api/v1.0/app/<appId>/metrics/<metrics_path>\r\n\r\n\r\n2) Add jvm metrics.\r\nAdded four jvm metrics:\r\nmemory.total.used: total memory used.\r\nmemory.total.max: total memory.\r\nthread.count\r\nthread.daemon.count: daemon thread count\r\n\r\n3) Add jvm name and pid for master, worker, executor, in returned rest data.\r\n"}}