{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/3045","repository_url":"https://api.github.com/repos/DataDog/dd-agent","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/3045/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/3045/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/3045/events","html_url":"https://github.com/DataDog/dd-agent/issues/3045","id":191378184,"number":3045,"title":"More metrics from Kubernetes State API","user":{"login":"therc","id":13481082,"avatar_url":"https://avatars0.githubusercontent.com/u/13481082?v=3","gravatar_id":"","url":"https://api.github.com/users/therc","html_url":"https://github.com/therc","followers_url":"https://api.github.com/users/therc/followers","following_url":"https://api.github.com/users/therc/following{/other_user}","gists_url":"https://api.github.com/users/therc/gists{/gist_id}","starred_url":"https://api.github.com/users/therc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therc/subscriptions","organizations_url":"https://api.github.com/users/therc/orgs","repos_url":"https://api.github.com/users/therc/repos","events_url":"https://api.github.com/users/therc/events{/privacy}","received_events_url":"https://api.github.com/users/therc/received_events","type":"User","site_admin":false},"labels":[{"id":528683938,"url":"https://api.github.com/repos/DataDog/dd-agent/labels/sdk-later","name":"sdk-later","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"hkaj","id":5287287,"avatar_url":"https://avatars2.githubusercontent.com/u/5287287?v=3","gravatar_id":"","url":"https://api.github.com/users/hkaj","html_url":"https://github.com/hkaj","followers_url":"https://api.github.com/users/hkaj/followers","following_url":"https://api.github.com/users/hkaj/following{/other_user}","gists_url":"https://api.github.com/users/hkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaj/subscriptions","organizations_url":"https://api.github.com/users/hkaj/orgs","repos_url":"https://api.github.com/users/hkaj/repos","events_url":"https://api.github.com/users/hkaj/events{/privacy}","received_events_url":"https://api.github.com/users/hkaj/received_events","type":"User","site_admin":false},"assignees":[{"login":"hkaj","id":5287287,"avatar_url":"https://avatars2.githubusercontent.com/u/5287287?v=3","gravatar_id":"","url":"https://api.github.com/users/hkaj","html_url":"https://github.com/hkaj","followers_url":"https://api.github.com/users/hkaj/followers","following_url":"https://api.github.com/users/hkaj/following{/other_user}","gists_url":"https://api.github.com/users/hkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaj/subscriptions","organizations_url":"https://api.github.com/users/hkaj/orgs","repos_url":"https://api.github.com/users/hkaj/repos","events_url":"https://api.github.com/users/hkaj/events{/privacy}","received_events_url":"https://api.github.com/users/hkaj/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-23T20:57:02Z","updated_at":"2017-05-30T08:40:48Z","closed_at":"2017-05-30T08:40:48Z","body":"5.10 introduced new metrics from the kubernetes-state-metrics API.\r\nThere are still some in the API that haven't made it to DataDog, e.g.:\r\n\r\nkube_pod_container_status_ready{container=\"dd-agent\",namespace=\"kube-system\",pod=\"dd-agent-0fv0y\"} 1\r\nkube_pod_container_status_restarts{container=\"dd-agent\",namespace=\"kube-system\",pod=\"dd-agent-0fv0y\"} 0\r\nkube_pod_container_status_running{container=\"dd-agent\",namespace=\"kube-system\",pod=\"dd-agent-0fv0y\"} 1\r\nkube_pod_container_status_terminated{container=\"dd-agent\",namespace=\"kube-system\",pod=\"dd-agent-0fv0y\"} 0\r\nkube_pod_container_status_waiting{container=\"dd-agent\",namespace=\"kube-system\",pod=\"dd-agent-0fv0y\"} 0\r\n\r\nkube_pod_container_requested_cpu_cores{container=\"kubedns\",namespace=\"kube-system\",node=\"10.X.Y.Z\",pod=\"kube-dns-v20-juul3\"} 0.1\r\nkube_pod_container_requested_memory_bytes{container=\"kubedns\",namespace=\"kube-system\",node=\"ip-10.X.Y.Z\",pod=\"kube-dns-v20-juul3\"} 1.048576e+08\r\n\r\nAt least the restarts and the requested resources (as opposed to limits) are very interesting to us.\r\n\r\nI guess one question is how to map the pod and container names into DataDog: separate tags or combined into one?\r\n"},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/304812809","html_url":"https://github.com/DataDog/dd-agent/issues/3045#issuecomment-304812809","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/3045","id":304812809,"user":{"login":"hkaj","id":5287287,"avatar_url":"https://avatars2.githubusercontent.com/u/5287287?v=3","gravatar_id":"","url":"https://api.github.com/users/hkaj","html_url":"https://github.com/hkaj","followers_url":"https://api.github.com/users/hkaj/followers","following_url":"https://api.github.com/users/hkaj/following{/other_user}","gists_url":"https://api.github.com/users/hkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaj/subscriptions","organizations_url":"https://api.github.com/users/hkaj/orgs","repos_url":"https://api.github.com/users/hkaj/repos","events_url":"https://api.github.com/users/hkaj/events{/privacy}","received_events_url":"https://api.github.com/users/hkaj/received_events","type":"User","site_admin":false},"created_at":"2017-05-30T08:40:48Z","updated_at":"2017-05-30T08:40:48Z","body":"this should be fixed now, we're also working on supporting kube-state-metrics v0.5"}}
{"actor":{"display_login":"hkaj"}}