{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/340","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/340/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/340/events","html_url":"https://github.com/GoogleCloudPlatform/heapster/pull/340","id":87884642,"number":340,"title":"(WIP) Basic skeleton for metric data structure","user":{"login":"afein","id":680441,"avatar_url":"https://avatars.githubusercontent.com/u/680441?v=3","gravatar_id":"","url":"https://api.github.com/users/afein","html_url":"https://github.com/afein","followers_url":"https://api.github.com/users/afein/followers","following_url":"https://api.github.com/users/afein/following{/other_user}","gists_url":"https://api.github.com/users/afein/gists{/gist_id}","starred_url":"https://api.github.com/users/afein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afein/subscriptions","organizations_url":"https://api.github.com/users/afein/orgs","repos_url":"https://api.github.com/users/afein/repos","events_url":"https://api.github.com/users/afein/events{/privacy}","received_events_url":"https://api.github.com/users/afein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T23:52:22Z","updated_at":"2015-06-12T23:52:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/340","html_url":"https://github.com/GoogleCloudPlatform/heapster/pull/340","diff_url":"https://github.com/GoogleCloudPlatform/heapster/pull/340.diff","patch_url":"https://github.com/GoogleCloudPlatform/heapster/pull/340.patch"},"body":"I'm creating a data structure that consumes metrics from the cache and organizes them in a fashion that can be easily consumed by REST endpoints.\r\n\r\nAt the current state, only node metrics are processed and exposed, without any aggregation over cluster metrics.\r\n\r\nFile structure:\r\ntypes.go - contains the interface and types of the data structure\r\nimpl.go - contains all methods of the RealCluster Implementation\r\nutil.go - contains helper functions that will be reused extensively by the implementation\r\n\r\nNext steps: \r\n- unit tests and error handling for all functions on util.go\r\n- implement updateContainer & addContainer \r\n- implement updatePod & addPod\r\n- Implement GetNode, GetPod and GetContainer\r\n\r\nTemporary concerns:\r\n- Update will not be invoked during housekeeping (discussion pending)"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/comments/111643770","html_url":"https://github.com/GoogleCloudPlatform/heapster/pull/340#issuecomment-111643770","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/340","id":111643770,"user":{"login":"cadvisorJenkinsBot","id":10566537,"avatar_url":"https://avatars.githubusercontent.com/u/10566537?v=3","gravatar_id":"","url":"https://api.github.com/users/cadvisorJenkinsBot","html_url":"https://github.com/cadvisorJenkinsBot","followers_url":"https://api.github.com/users/cadvisorJenkinsBot/followers","following_url":"https://api.github.com/users/cadvisorJenkinsBot/following{/other_user}","gists_url":"https://api.github.com/users/cadvisorJenkinsBot/gists{/gist_id}","starred_url":"https://api.github.com/users/cadvisorJenkinsBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cadvisorJenkinsBot/subscriptions","organizations_url":"https://api.github.com/users/cadvisorJenkinsBot/orgs","repos_url":"https://api.github.com/users/cadvisorJenkinsBot/repos","events_url":"https://api.github.com/users/cadvisorJenkinsBot/events{/privacy}","received_events_url":"https://api.github.com/users/cadvisorJenkinsBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T23:52:22Z","updated_at":"2015-06-12T23:52:22Z","body":"Can one of the admins verify this patch?"}}