{"repo":"emylincon/aws_quota_exporter","free":true,"listed":false,"github":"https://github.com/emylincon/aws_quota_exporter","clone":"git clone https://github.com/emylincon/aws_quota_exporter.git","description":"Export AWS quotas on Prometheus","language":"Go Template","stars":31,"topics":["aws","prometheus","service-quotas"],"license":"MIT","category":"analytics","readme_excerpt":"aws quota exporter Export AWS quotas and usage on Prometheus. Why? A subset of the aws service quotas are labelled adjustable . This can be at the account or region level. If some of the quotas are adjusted for some regions, then the quotas per region would no longer be homogeneous. This would cause a rift when creating monitoring or alerting logic in prometheus based on the service quotas. The aim of the aws quota exporter is to export these quotas in prometheus to solve the above problem. At the time of writing, this feature is not currently available in the prometheus yace exporter Usage Run the following command Example of config.yml Use the optional role key if you want the exporter to assume the role when retrieving that specific job metrics Help View program help: Version Display version Service Codes The serviceCode is the AWS service identifier. To identify the serviceCode for a particular service, use the following aws cli command: Quotas usage You can enable quota usage collection with -collect.usage flag (ℹ️ Not all quotas have usage. see docs). The latest usage value from CloudWatch using GetMetricStatistics API method is collected. ⚠️ CloudWatch API calls aren't free! However, there are no charges to use GetMetricStatistics for up to 1 million API requests (docs). The label type=\"usage quota is used to differentiate the metrics. This \"type\": \"usage\" will export usage metrics while \"type\": \"quota\" will export quota metrics. Example promQL query to get quota usage","default_branch":null,"files":null,"tree":[],"storefront":"/r/emylincon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/emylincon/aws_quota_exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}