{"id":39027077,"url":"https://github.com/slashdevops/aws_cloudwatch_exporter","last_synced_at":"2026-01-17T17:33:41.343Z","repository":{"id":39860235,"uuid":"245606903","full_name":"slashdevops/aws_cloudwatch_exporter","owner":"slashdevops","description":"AWS CloudWatch Prometheus exporter","archived":false,"fork":false,"pushed_at":"2024-06-11T12:46:59.000Z","size":356,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T23:47:42.442Z","etag":null,"topics":["cloudwatch","golang","metrics","metrics-queries","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slashdevops.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-07T09:50:54.000Z","updated_at":"2024-06-11T12:47:03.000Z","dependencies_parsed_at":"2024-06-21T02:07:31.594Z","dependency_job_id":"b01903ff-e969-4b82-a417-c2b09cc3bdab","html_url":"https://github.com/slashdevops/aws_cloudwatch_exporter","commit_stats":null,"previous_names":["aimroot/aws_cloudwatch_exporter"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/slashdevops/aws_cloudwatch_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdevops%2Faws_cloudwatch_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdevops%2Faws_cloudwatch_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdevops%2Faws_cloudwatch_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdevops%2Faws_cloudwatch_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slashdevops","download_url":"https://codeload.github.com/slashdevops/aws_cloudwatch_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdevops%2Faws_cloudwatch_exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28513209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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","golang","metrics","metrics-queries","prometheus-exporter"],"created_at":"2026-01-17T17:33:41.262Z","updated_at":"2026-01-17T17:33:41.323Z","avatar_url":"https://github.com/slashdevops.png","language":"Go","readme":"# aws_cloudwatch_exporter\n\n![Main branch workflow](https://github.com/slashdevops/aws_cloudwatch_exporter/workflows/main%20branch%20workflow/badge.svg?branch=main)\n[![Go Report Card](https://goreportcard.com/badge/github.com/slashdevops/aws_cloudwatch_exporter)](https://goreportcard.com/report/github.com/slashdevops/aws_cloudwatch_exporter)\n![Docker Pulls](https://img.shields.io/docker/pulls/slashdevops/aws-cloudwatch-exporter)\n\nPrometheus exporter for AWS CloudWatch\n\nThis exporter used the [AWS CloudWatch GetMetricsData API call](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html), please it is important you read\n\n* [cloudwatch-getmetricdata-api](https://aws.amazon.com/premiumsupport/knowledge-center/cloudwatch-getmetricdata-api/)\n* [Amazon CloudWatch pricing](https://aws.amazon.com/cloudwatch/pricing/?nc1=h_ls)\n\n**WARNING**:\n\n* The use of this exporter could be expensive, this need be used taking care.\n\n**NOTES**:\n\n* When you use [AWS CloudWatch GetMetricsData API call](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html) with 1 request you can get 500 metrics a time, so\nread the links above before use it.\n\nLIMITATIONS:\n\n* You could define 500 metrics queries in total (a future release will allow more)\n\n## Configuration\n\n### Server\n\nTo configure the server you have 3 ways:\n\n1. Configuration Files   (i.e.: ./server.yaml)\n2. Environment Variables (i.e.: SERVER_PORT, SERVER_ADDRESS, etc)\n3. Program Flags         (i.e.: --serverPort, --serverAddress,etc)\n\n### Metrics Queries\n\nThis exporter used the standard metrics queries format used by [AWS CloudWatch API GetMetricData](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html)\nMore information at [metrics.md](docs/metrics.md)\n\n### Docs\n\n* [server.yaml](docs/server.md)\n* [metrics.yaml](docs/metrics.md)\n\n### Running\n\n#### Docker\n\nUsing your own `~/.aws` configuration in local\n\n```bash\ndocker run --rm \\\n    -i \\\n    -u nobody:nogroup \\\n    --privileged \\\n    -v ~/tmp/queries/m1.yaml:/home/nobody/m1.yaml:ro \\\n    -v ~/tmp/queries/m2.yaml:/home/nobody/m2.yaml:ro \\\n    -v /tmp/:/home/nobody/tmp/:rw \\\n    -v ~/.aws:/home/nobody/.aws:ro \\\n    -e \"AWS_SDK_LOAD_CONFIG=true\" \\\n    -e \"AWS_PROFILE=slashdevops\" \\\n    slashdevops/aws-cloudwatch-exporter-linux-amd64:develop metrics get --metricsFiles /home/nobody/m1.yaml --outFile /home/nobody/tmp/out.yaml\n```\n\nCheck the result\n\n```bash\ncat /tmp/out.yaml\n```\n\n#### Binary\n\nIf you download the binary from releases\n\n```bash\nAWS_SDK_LOAD_CONFIG=\"true\" \\\nAWS_PROFILE=\"slashdevops\" \\\n./aws_cloudwatch_exporter metrics get \\\n    --metricsFiles ~/tmp/queries/m1.yaml \\\n    --debug\n```\n\n## Development / Contributing\n\nWIP\n\n## License\n\nThis software is released under the APACHE LICENSE, VERSION 2.0:\n\n* [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\n## Author Information\n\n* [Christian González Di Antonio](https://github.com/christiangda)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdevops%2Faws_cloudwatch_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslashdevops%2Faws_cloudwatch_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdevops%2Faws_cloudwatch_exporter/lists"}