{"id":18525795,"url":"https://github.com/toricls/ecs-taskmetadata-cloudwatch","last_synced_at":"2026-03-03T21:31:03.722Z","repository":{"id":63742021,"uuid":"163351628","full_name":"toricls/ecs-taskmetadata-cloudwatch","owner":"toricls","description":"An example sidecar container for Amazon ECS and AWS Fargate to enable task/container-level metrics on CloudWatch","archived":false,"fork":false,"pushed_at":"2019-01-08T05:10:21.000Z","size":1751,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T04:14:26.723Z","etag":null,"topics":["cloudwatch","ecs","fargate","monitoring"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toricls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-28T01:31:44.000Z","updated_at":"2020-06-05T12:18:54.000Z","dependencies_parsed_at":"2022-11-25T02:40:40.771Z","dependency_job_id":null,"html_url":"https://github.com/toricls/ecs-taskmetadata-cloudwatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toricls/ecs-taskmetadata-cloudwatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fecs-taskmetadata-cloudwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fecs-taskmetadata-cloudwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fecs-taskmetadata-cloudwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fecs-taskmetadata-cloudwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toricls","download_url":"https://codeload.github.com/toricls/ecs-taskmetadata-cloudwatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toricls%2Fecs-taskmetadata-cloudwatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30062331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudwatch","ecs","fargate","monitoring"],"created_at":"2024-11-06T17:47:03.107Z","updated_at":"2026-03-03T21:31:03.688Z","avatar_url":"https://github.com/toricls.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Amazon ECS Task Metadata :point_right: CloudWatch Custom Metrics\n=\n\nTODO: Write more about usage including required IAM role permissions\n\nThis is an example project which puts your container-level metrics into CloudWatch on Amazon ECS and AWS Fargate.\n\nPre-built docker image is available at a [Docker Hub repository](https://cloud.docker.com/repository/docker/toricls/ecs-taskmetadata-cloudwatch) to try this quickly.\n\nTo try, just run the pre-built container as a sidecar of your application container, then you'll see `CPUUtilization` and `MemoryUtilization` metrics on your CloudWatch console under `ECS/Containers` namespace.\n\nNOTE\n- This project uses [Task Metadata Endpoint v3](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v3.html) and not works with v2\n- For Fargate launch type, Fargate Platform Version v1.3.0 or later is required\n- For EC2 launch type, v1.21.0 or later of the Amazon ECS container agent is required\n- Windows container is not supported for now\n\n:camera: screenshots :point_down:\n\n![Metrics](https://raw.githubusercontent.com/wiki/toricls/ecs-taskmetadata-cloudwatch/imgs/cw-metrics-1.png)\n\n--\n![Metrics](https://raw.githubusercontent.com/wiki/toricls/ecs-taskmetadata-cloudwatch/imgs/cw-metrics-2.png)\n\n--\n![Metrics](https://raw.githubusercontent.com/wiki/toricls/ecs-taskmetadata-cloudwatch/imgs/cw-metrics-3.png)\n\n## Contribution\n\nAny contributions are welcome :raised_hands:\n\n1. Fork ([https://github.com/toricls/ecs-taskmetadata-cloudwatch/fork](https://github.com/toricls/ecs-taskmetadata-cloudwatch/fork))\n1. Create a feature branch\n1. Commit your changes\n1. Rebase your local changes against the master branch\n1. Create a new Pull Request\n\n## Author\n\n[toricls](https://github.com/toricls)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoricls%2Fecs-taskmetadata-cloudwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoricls%2Fecs-taskmetadata-cloudwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoricls%2Fecs-taskmetadata-cloudwatch/lists"}