[BUG] <title>图标获取不应该使用Instance,应该使用id,否则可能出现多个任务的图标数据重复展示
- 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?
- [x] I have searched the existing issues
### Current Behavior
http 配置host port 发现 图标侧是通过Instance进行取数的,按道理应该根据 id,因为http的ip+port可能是传参的,不一定会变。
### Expected Behavior
_No response_
### Steps To Reproduce
_No response_
### Environment
```markdown
HertzBeat version(s):1.8.0
```
### Debug logs
_No response_
### Anything else?
_No response_
Contributor guide
Research direction
Start by tracing the HTTP monitor icon lookup that currently uses Instance, using the screenshots and HertzBeat 1.8.0 context to locate the relevant code. Verify how monitor IDs are available, then update the lookup to use the ID so tasks with changing IP and port values do not display duplicate icon data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100