apache / apache/hertzbeat

[Question] can add HTTP API with HTTP Code & Error Msg?

Open
#2,284 8 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

有时候某些接口报错后,想要得知该环境接口的状态码及错误信息,只能够手动打开页面或对接口进行一次手动请求

例如某个接口可能会出现 500 or 502 错误,但 HertzBeat 的监控信息只有响应时间&关键词数量,不方便排查

Contributor guide

Open the contributing guide

Research direction

Start by locating the HTTP monitoring implementation and the code that currently exposes response time and keyword count. Determine where HTTP status codes and error messages are represented, then verify that the monitoring information includes them for responses such as 500 and 502.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.