alibaba / alibaba/Sentinel

Get system metrics of container | k8s pod里SystemStatusListener获取到的是物理机的load不是pod的load

Open
#2,260 7 comments 0 reactions 0 assignees View on GitHub
area/metrics help wanted
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

k8s pod里SystemStatusListener获取到的是物理机的load不是pod的load

### Describe what you expected to happen

可以获取到pod或容器里的load

### Tell us your environment

k8s

Contributor guide

Open the contributing guide

Research direction

Start by locating SystemStatusListener and tracing how it reads system load when running in a Kubernetes pod or container. Compare the reported value with the pod or container load rather than the host value, using a reproducible Kubernetes environment if available. Done means the listener reports the container or pod load and the behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes
Domain
infrastructure, observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.