{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/43","repository_url":"https://api.github.com/repos/mapbox/ecs-watchbot","labels_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/43/comments","events_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/43/events","html_url":"https://github.com/mapbox/ecs-watchbot/issues/43","id":174868769,"number":43,"title":"[Question] How to view metrics on worker tasks?","user":{"login":"jakepruitt","id":5084263,"avatar_url":"https://avatars.githubusercontent.com/u/5084263?v=3","gravatar_id":"","url":"https://api.github.com/users/jakepruitt","html_url":"https://github.com/jakepruitt","followers_url":"https://api.github.com/users/jakepruitt/followers","following_url":"https://api.github.com/users/jakepruitt/following{/other_user}","gists_url":"https://api.github.com/users/jakepruitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jakepruitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakepruitt/subscriptions","organizations_url":"https://api.github.com/users/jakepruitt/orgs","repos_url":"https://api.github.com/users/jakepruitt/repos","events_url":"https://api.github.com/users/jakepruitt/events{/privacy}","received_events_url":"https://api.github.com/users/jakepruitt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-03T00:20:41Z","updated_at":"2016-09-03T14:43:58Z","closed_at":null,"body":"Tried to find out how many desired/running worker tasks there were in my cluster today but I couldn't find the metrics. I could see the metrics for the Watcher service, but nothing was coming up for the Workers. Is there a way to register the workers as a service on the container? Alternatively, could we create custom cloudwatch metrics for keeping track of the number of worker tasks?\r\n\r\ncc/ @rclark @yhahn "},"comment":{"url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/comments/244550312","html_url":"https://github.com/mapbox/ecs-watchbot/issues/43#issuecomment-244550312","issue_url":"https://api.github.com/repos/mapbox/ecs-watchbot/issues/43","id":244550312,"user":{"login":"rclark","id":515424,"avatar_url":"https://avatars.githubusercontent.com/u/515424?v=3","gravatar_id":"","url":"https://api.github.com/users/rclark","html_url":"https://github.com/rclark","followers_url":"https://api.github.com/users/rclark/followers","following_url":"https://api.github.com/users/rclark/following{/other_user}","gists_url":"https://api.github.com/users/rclark/gists{/gist_id}","starred_url":"https://api.github.com/users/rclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rclark/subscriptions","organizations_url":"https://api.github.com/users/rclark/orgs","repos_url":"https://api.github.com/users/rclark/repos","events_url":"https://api.github.com/users/rclark/events{/privacy}","received_events_url":"https://api.github.com/users/rclark/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T14:43:58Z","updated_at":"2016-09-03T14:43:58Z","body":"`docker stats` o_o this is great to know about.\r\n\r\nAlso learned that you can jump onto your cluster EC2s and [make http requests to the docker daemon](https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#/inspect-a-container) to learn quite a bit about what containers are doing\r\n\r\n```\r\ncurl --unix-socket /var/run/docker.sock http:/containers/4a79a37e96b5/top\r\ncurl --unix-socket /var/run/docker.sock http:/containers/4a79a37e96b5/stats\r\n```"}}
{"actor":{"display_login":"rclark"}}