apache / apache/hertzbeat

[Question] <title>采集器是否有问题?采集数据异常

Open
#3,533 2 comments 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

1Panel和hertzbeat的监控数据不同,hertzbeat大多数数据都是整数,精度异常,以以下CPU采集数据为例:
1Panel中的监控数据带有小数,且波动正常
![Image](https://github.com/user-attachments/assets/2e68dcb1-4978-4a78-a71a-b0b6e8f5e159)
hertzbeat中的监控数据是整数,且波动异常
![Image](https://github.com/user-attachments/assets/cb0dc65c-883a-4763-967b-5e0123b68d02)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CPU monitoring comparison between 1Panel and HertzBeat and inspect how the collector handles precision and value changes. There are no files or tests named in the issue, so identify the relevant collector entry point first. Done means HertzBeat reports decimal CPU values with fluctuations consistent with 1Panel.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.