flashcatcloud / categraf

one-stop telemetry collector for nightingale
https://flashcat.cloud/docs/
MIT License
838 stars 254 forks source link

oracle插件的address填写错误时,直接panic导致categraf异常退出 #861

Closed W-Jie closed 6 months ago

W-Jie commented 7 months ago

运行环境: categraf v0.3.56, centos 7.5

oralce插件配置信息: 21165799757_135435959604_BF0C1B0E-F09E-4b84-AC87-B8A85F936927

报错信息: 21165799757_135436110100_C652692E-5D8D-4da3-AD9C-9FE4ECAA1427

代码: https://github.com/flashcatcloud/categraf/blob/0c0e292b6964999048280c5087eb1e3147874d0f/inputs/oracle/oracle.go#L280

kongfei605 commented 7 months ago

是的,当前代码是这个逻辑。不过昨天有大牛提了个PR 做了一些修改。下个版本发布后,就是报错,不是panic的逻辑了。

W-Jie commented 7 months ago

好的,谢谢! 新版本大概什么时候会发布?

kongfei605 commented 7 months ago

没有特殊情况,基本每周都会发布一个版本

kongfei605 commented 7 months ago

https://github.com/flashcatcloud/categraf/releases/tag/v0.3.59