aws / aws/containers-roadmap

[EKS] [request]: expose metric/counter evictions

Open
#1,321 1 comment 3 reactions 0 assignees View on GitHub
EKS Proposed
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.