apache / apache/hertzbeat

[BUG] <title>对K8S的nodes、namespaces、pods、services告警产生的BUG

Open
#3,784 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Is there an existing issue for this?

- [ ] I have searched the existing issues

### Current Behavior

新增实时阈值规则

1、指标类型选择 Kubernetes/Pod

2、最终总表达式:
equals(__app__,"kubernetes") && equals(__metrics__,"pods") && equals(__instance__, "554840282830848") && equals(status, "Failed")

3、数据60s采集一次,5分钟后没有产生告警

### Expected Behavior

对上述的阈值配置产生对应的告警内容,每个符合条件的nodes、namespaces、pods、services应该都产生告警内容

### Steps To Reproduce

_No response_

### Environment

```markdown
HertzBeat version(s):
```

### Debug logs

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Kubernetes/Pod real-time threshold rule using the expression and 60-second collection interval described in the issue. Check how matching nodes, namespaces, pods, and services are evaluated for alert generation. Done means each matching resource produces the expected alert; the issue provides no files or tests to guide the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.