apache / apache/hertzbeat

[Question] Prometheus任务的使用问题而且Manager和采集器的控制很容易出问题

Open
#4,117 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

Image

Image

Image

Image

问题一: 同样的指标获取接口 Prometheus可以正常获取到应的数据,而在内hertzbeat内大部分时间查不到,这个直接关系到可靠性
问题二:采集器用来执行采集任务,在调度上太过粗暴,没有一个稳定的上线下线机制,manager重启或者采集器重启都会引起整体采集故障

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reproducing the two reported cases: compare Prometheus metric retrieval with HertzBeat's results, then restart the manager and collector while collection tasks are active. Done means metrics remain reliably available and collection recovers without an overall failure after either component restarts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, prometheus
Domain
distributed-systems, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.