Qihoo360 / doraemon

Doraemon is a Prometheus based monitor system
GNU General Public License v3.0
656 stars 207 forks source link

这个项目维护效果够吐血 #82

Open huangwei2013 opened 3 years ago

huangwei2013 commented 3 years ago

1.告警规则假分页:查询分页是在前端做的;后端接口一次性返回了 2.告警的model实现代码,if else 嵌套了四层 3.大量注释掉的代码 4.相对于镜像版本,源码至少缺少告警抑制(好在还有数据表)

------看到更多的继续来吐血

目前在优化/改写(只是后端;前端无力去折腾,都删掉了)

FangPengbo commented 3 years ago

容易维护吗?

huangwei2013 commented 3 years ago
type Rules struct {
    ...
    Op          string `orm:"column(op);size(31)" json:"op"`
    Value       string `orm:"column(value);size(1023)" json:"op"`
        ...

没人说开源这事容易,但既然要做,做的好一点多好

duxiaowei-jd commented 3 years ago

给360丢人