{"id":13582068,"url":"https://github.com/danielfm/aws-limits-exporter","last_synced_at":"2025-12-30T01:16:20.636Z","repository":{"id":46232066,"uuid":"92953795","full_name":"danielfm/aws-limits-exporter","owner":"danielfm","description":"Expose AWS service usage and limits to Prometheus","archived":false,"fork":false,"pushed_at":"2024-03-13T22:04:27.000Z","size":97,"stargazers_count":47,"open_issues_count":3,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T21:45:44.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielfm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"danielfm","liberapay":"danielfm"}},"created_at":"2017-05-31T14:20:33.000Z","updated_at":"2024-04-19T14:16:08.000Z","dependencies_parsed_at":"2023-12-11T19:26:24.602Z","dependency_job_id":"bc2d8472-6cf0-4700-b5ac-7036d3c9df18","html_url":"https://github.com/danielfm/aws-limits-exporter","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfm%2Faws-limits-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfm%2Faws-limits-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfm%2Faws-limits-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfm%2Faws-limits-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielfm","download_url":"https://codeload.github.com/danielfm/aws-limits-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478106,"owners_count":20945256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-01T15:02:24.879Z","updated_at":"2025-12-30T01:16:20.600Z","avatar_url":"https://github.com/danielfm.png","language":"Go","funding_links":["https://github.com/sponsors/danielfm","https://liberapay.com/danielfm"],"categories":["Go"],"sub_categories":[],"readme":"# AWS Limits Exporter\n\nThis is a small Go server that provides a Prometheus metrics endpoint that\nexposes AWS usage and limits as reported by the AWS Trusted Advisor API.\n\n\n## Usage\n\nThere are Docker images ready for use:\n\n```bash\n# Start exporter container\n$ docker run -it --rm -p 8080:8080 -e AWS_ACCESS_KEY=\u003cKEY\u003e -e AWS_SECRET_ACCESS_KEY=\u003cSECRET\u003e \\\n      danielfm/aws-limits-exporter:latest -logtostderr\n\n# Scrape metrics\n$ curl http://localhost:8080/metrics\n```\n\n## AWS Credentials\n\nFor this to work, it must have access to AWS credentials in\n`~/.aws/credentials`, or via `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`\nenvironment variables.\n\nThe following IAM policy describes which actions the user must be able to\nperform in order for this server to work:\n\n```json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"support:*\"\n            ],\n            \"Resource\": [\n                \"*\"\n            ]\n        }\n    ]\n}\n```\n\n## Flags\n\n```\nUsage of ./bin/aws-limits-exporter:\n  -alsologtostderr\n        log to standard error as well as files\n  -listen-address string\n        The address to listen on for HTTP requests. (default \":8080\")\n  -log_backtrace_at value\n        when logging hits line file:N, emit a stack trace\n  -log_dir string\n        If non-empty, write log files in this directory\n  -logtostderr\n        log to standard error instead of files\n  -region string\n        The AWS region to show metrics for (default all regions).\n  -stderrthreshold value\n        logs at or above this threshold go to stderr\n  -v value\n        log level for V logs\n  -vmodule value\n        comma-separated list of pattern=N settings for file-filtered logging\n```\n\n## Donate\n\nIf this project is useful for you, buy me a beer!\n\nBitcoin: `bc1qtwyfcj7pssk0krn5wyfaca47caar6nk9yyc4mu`\n\n## License\n\nCopyright (C) Daniel Fernandes Martins\n\nDistributed under the New BSD License. See LICENSE for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfm%2Faws-limits-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielfm%2Faws-limits-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfm%2Faws-limits-exporter/lists"}