kube-state-metrics/docs/metrics/service
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
..
endpoint-metrics.md feat(endpoints): Move ports into address metric 2024-10-17 23:45:01 +02:00
endpointslice-metrics.md docs: reorganize documentation directory structure 2024-04-03 12:32:14 +00:00
ingress-metrics.md addressing reviews 2025-08-05 17:23:48 +05:30
ingressclass-metrics.md docs: reorganize documentation directory structure 2024-04-03 12:32:14 +00:00
service-metrics.md feat: add deletion timestamp metrics for multiple resources 2025-08-18 08:57:17 +03:00