Commit Graph

11 Commits

Author SHA1 Message Date
Catherine Fang ee77b19bdb Promote two metrics to stable 2022-08-30 20:51:29 -04:00
Sylvain Rabot 96d08df5d0
Merge remote-tracking branch 'origin/master' into annotations 2021-08-16 08:50:02 +02:00
Sylvain Rabot e3688234a3
Mark new annotations metrics as EXPERIMENTAL
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-08-15 18:11:36 +02:00
Akshit Grover 405419106e
Update deployment ready replicas metric status
Change status for kube_deployment_status_replicas_ready to EXPERIMENTAL
2021-07-26 18:10:06 +05:30
Akshit Grover 8990d2e990 Add kube_deployment_status_replicas_ready in the docs
Signed-off-by: Akshit Grover <akshit.grover2016@gmail.com>
2021-07-22 23:33:36 +05:30
Sylvain Rabot 65bc62af5c
Add kube_*_annotations metrics
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-04-29 16:04:16 +02:00
Olivier Lemasle 0387ebbb45 Fix metrics & labels documentation 2020-02-27 20:37:53 +01:00
Terin Stock 8c7cf669e0 deployment status conditions
Deployments, like Nodes, have status conditions observing the
current state. While the state of Available and Progressing conditions
can likely be inferred by other metrics, the state of ReplicaFailure can
not be inferred.

This changelist adds a new metric `kube_deployment_status_condition`
that observes all the conditions on a deployment for each condition
status. This is analogous to the status conditions observed by nodes and
horizontal pod autoscalers, and allows kube-state-metrics to observe
status conditions added by third-parties.

As an example, for a deployment that has stalled, the following new
metrics observed would allow an operator to detect the condition:

    kube_deployment_status_condition{deployment="example", namespace="default", condition="ReplicaFailure", status="true"} 1
    kube_deployment_status_condition{deployment="example", namespace="default", condition="ReplicaFailure", status="false"} 0
    kube_deployment_status_condition{deployment="example", namespace="default", condition="ReplicaFailure", status="unknown"} 0

Bug: #886
Signed-off-by: Terin Stock <terin@cloudflare.com>
2019-09-18 19:05:12 -07:00
Tariq Ibrahim 9799ac0e61
Merge release-1.7 into upstream/master 2019-08-05 10:46:00 -07:00
Andrey Sidorov 5ae00bb93f add kube_*_annotations metrics for all objects 2019-06-25 22:29:27 +03:00
tariqibrahim 3f22eff70d docs: rename the Documentation folder to docs 2019-02-19 21:06:44 -08:00