[EKS] [request]: expose metric/counter evictions
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
Currently EKS does not expose the metric/counter `Evictions` and `EvictionStatsAge`. See https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/metrics/metrics.go#L229 for details on the metric.
Can you please expose this? We use [DataDog monitoring](https://github.com/DataDog/helm-charts) and would love to create a DataDog alert whenever a pod goes into evicted.
Running latest EKS on Kubernetes version `1.19`.
Contributor guide
Research direction
Start with the Kubernetes metrics reference linked in the issue and verify how EKS currently exposes Evictions and EvictionStatsAge for Kubernetes 1.19. The request is complete when both metrics are available to DataDog monitoring so an alert can be created for evicted pods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes
- Domain
- cloud, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100