Skip to content

http拨测端点服务异常退出时,无告警 #230

@BOBYou

Description

@BOBYou

描述(Description)

http拨测,拨测端点为 10.1.0.100/api
对应接口服务异常退出的情况下,选择 响应码或响应延迟 ,都是没有告警的

复现步骤(Steps to Reproduce)

请详细描述如何复现该问题:

  • 添加一个不存在的http接口

环境信息(Environment)

docker compose
版本 3.7.1

日志或错误信息(Logs or Error Output)

w8t-service | {"@timestamp":"2025-12-05T15:18:46.520+08:00","caller":"tools/http.go:38","content":"Tools get 请求发送失败, err: Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:46.520+08:00","caller":"probing/producter.go:78","content":"Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:48.521+08:00","caller":"tools/http.go:38","content":"Tools get 请求发送失败, err: Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:48.522+08:00","caller":"probing/producter.go:78","content":"Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:50.523+08:00","caller":"tools/http.go:38","content":"Tools get 请求发送失败, err: Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:50.523+08:00","caller":"probing/producter.go:78","content":"Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | Body:
w8t-service | Query Params: map[]
w8t-service | {"@timestamp":"2025-12-05T15:18:50.925+08:00","caller":"middleware/ginlog.go:41","clientIP":"::1","content":"","latency":"89.197µs","level":"info","method":"GET","path":"/hello","status":200}
w8t-service | {"@timestamp":"2025-12-05T15:18:52.523+08:00","caller":"tools/http.go:38","content":"Tools get 请求发送失败, err: Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:52.523+08:00","caller":"probing/producter.go:78","content":"Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:54.524+08:00","caller":"tools/http.go:38","content":"Tools get 请求发送失败, err: Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:54.524+08:00","caller":"probing/producter.go:78","content":"Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | Body:
w8t-service | Query Params: map[]
w8t-service | {"@timestamp":"2025-12-05T15:18:55.952+08:00","caller":"middleware/ginlog.go:41","clientIP":"::1","content":"","latency":"138.33µs","level":"info","method":"GET","path":"/hello","status":200}
w8t-service | {"@timestamp":"2025-12-05T15:18:56.525+08:00","caller":"tools/http.go:38","content":"Tools get 请求发送失败, err: Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}
w8t-service | {"@timestamp":"2025-12-05T15:18:56.525+08:00","caller":"probing/producter.go:78","content":"Get "http://10.1.0.100/api\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","level":"error"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions