nightingale icon indicating copy to clipboard operation
nightingale copied to clipboard

add event-pipeline error

Open chenjinlei1122 opened this issue 3 months ago • 3 comments

Question and Steps to reproduce

使用docker-postgres部署的服务,已升级到8.3.1版本,在新增事件管道的时候报错

Image

Relevant logs and configurations

输入完信息,点击保存报错

Version

v8.3.1版本

chenjinlei1122 avatar Sep 23 '25 01:09 chenjinlei1122

025-09-23 10:27:26.292998 ERROR ormx/ormx.go:68 /home/runner/work/nightingale/nightingale/models/event_pipeline.go:67 failed to encode args[3]: unable to encode false into binary format for int8 (OID 20): cannot find encode plan [1.702ms] [rows:0] INSERT INTO "event_pipeline" ("name","team_ids","description","filter_enable","label_filters","attr_filters","processor_configs","create_at","create_by","update_at","update_by") VALUES ('磁盘清理','[1]','',false,'[]','[]','[{"typ":"callback","config":{"timeout":10000,"url":"http://172.17.200.216:8080/webhook/clean-disk"}}]',1758594446,'root',1758594446,'root') RETURNING "id",报错日志

chenjinlei1122 avatar Sep 23 '25 02:09 chenjinlei1122

Image Image定位是postgres在进行bool转换的时候出错了

chenjinlei1122 avatar Sep 23 '25 06:09 chenjinlei1122

感谢反馈,下个版本会修复下

710leo avatar Sep 23 '25 08:09 710leo