
kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.
kube-state-metrics exposes raw data unmodified from the Kubernetes API, this way users have all the data they require and perform heuristics as they see fit. The metrics are exported on the HTTP endpoint /metrics on the listening port (default 80). They are served as plaintext. They are designed to be consumed either by Prometheus itself or by a scraper that is compatible with scraping a Prometheus client endpoint.
Thank you to all the contributors whose hard work makes kube-state-metrics valuable for users.