{"id":31646253,"url":"https://github.com/codefresh-io/cluster-autoscaler-exporter","last_synced_at":"2025-10-07T05:21:39.790Z","repository":{"id":37898713,"uuid":"241363639","full_name":"codefresh-io/cluster-autoscaler-exporter","owner":"codefresh-io","description":"Prometheus exporter for cluster-autoscaler-status","archived":false,"fork":false,"pushed_at":"2022-12-24T08:19:21.000Z","size":11,"stargazers_count":7,"open_issues_count":4,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-25T14:59:41.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/codefresh-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-18T13:09:22.000Z","updated_at":"2022-10-19T19:12:25.000Z","dependencies_parsed_at":"2023-01-30T20:31:12.486Z","dependency_job_id":null,"html_url":"https://github.com/codefresh-io/cluster-autoscaler-exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codefresh-io/cluster-autoscaler-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fcluster-autoscaler-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fcluster-autoscaler-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fcluster-autoscaler-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fcluster-autoscaler-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codefresh-io","download_url":"https://codeload.github.com/codefresh-io/cluster-autoscaler-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fcluster-autoscaler-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722757,"owners_count":26034463,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-07T05:21:16.686Z","updated_at":"2025-10-07T05:21:39.785Z","avatar_url":"https://github.com/codefresh-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prometheus exporter for cluster-autoscaler-status\n\nk8s provides a `cluster-autoscaler-status` configmap. sadly there was no way to easily export this data to Prometheus.  \nnow there is.\n\nwe export three metrics per pool:\n* number of `ready` nodes\n* `cloudProviderTarget` number\n* `maxSize` number\n\n## Example output\n```\n# HELP cluster_autoscaler_pool ready\n# TYPE cluster_autoscaler_pool gauge\ncluster_autoscaler_pool{name=\"csi\"} 0.0\ncluster_autoscaler_pool{name=\"engines\"} 1.0\n# HELP cluster_autoscaler_pool_target cloudProviderTarget\n# TYPE cluster_autoscaler_pool_target gauge\ncluster_autoscaler_pool_target{name=\"csi\"} 0.0\ncluster_autoscaler_pool_target{name=\"engines\"} 1.0\n# HELP cluster_autoscaler_pool_max maxSize\n# TYPE cluster_autoscaler_pool_max gauge\ncluster_autoscaler_pool_max{name=\"csi\"} 10.0\ncluster_autoscaler_pool_max{name=\"engines\"} 50.0\n```\n\n## Usage\n\nit can be run in-cluster or out of cluster. metrics exporter runs on port `9100`\n\nthere's a ready to use [Docker image](https://hub.docker.com/r/codefresh/cluster-autoscaler-exporter)\n\n## Limitations\n\ncurrently the querying interval is hardcoded at `10s`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fcluster-autoscaler-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodefresh-io%2Fcluster-autoscaler-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fcluster-autoscaler-exporter/lists"}