[优化] 更新 openresty_observability_port 描述,增强健康检查逻辑,使用 stub_status 代替 openresty -t

This commit is contained in:
ryan
2026-05-29 10:52:25 +08:00
parent fe7f7da537
commit ab8e3d4705
@@ -788,6 +788,7 @@ func (m *Manager) checkStubStatus(ctx context.Context) error {
if resp.StatusCode != http.StatusOK {
return fmt.Errorf("openresty health endpoint returned %s", resp.Status)
}
slog.Debug("openresty health endpoint is healthy", "url", openrestyStubUrl)
return nil
}