kube-state-metrics/docs/metrics/policy
Igor Ignatev 53ec1de81a
feat: add deletion timestamp metrics for multiple resources
This commit adds the kube_*_deletion_timestamp metric for several Kubernetes resources:
- Deployments
- DaemonSets
- StatefulSets
- Services
- PodDisruptionBudgets

The deletion timestamp metric reports the Unix timestamp when a resource
was marked for deletion. This helps with monitoring resource lifecycle
and cleanup processes.

All metrics follow the same pattern:
- Help text: 'Unix deletion timestamp'
- Type: gauge
- Value: Unix timestamp in seconds when DeletionTimestamp is set,
  otherwise the metric is not emitted

Updated documentation and tests are included for all affected resources.
2025-08-18 08:57:17 +03:00
..
limitrange-metrics.md docs: reorganize documentation directory structure 2024-04-03 12:32:14 +00:00
networkpolicy-metrics.md docs: reorganize documentation directory structure 2024-04-03 12:32:14 +00:00
poddisruptionbudget-metrics.md feat: add deletion timestamp metrics for multiple resources 2025-08-18 08:57:17 +03:00
resourcequota-metrics.md docs: reorganize documentation directory structure 2024-04-03 12:32:14 +00:00