hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

[Question] API business status code parsing problem

Open Chandleroo opened this issue 1 year ago • 7 comments

Question

业务状态响应为“0000”和“0003”,解析为了“0”和“3” image image

Chandleroo avatar May 30 '24 07:05 Chandleroo

1.5.0版本没有此问题

Chandleroo avatar May 30 '24 07:05 Chandleroo

还有企业微信机器人这个通知配置,我理解手机号和userId非必填吧,二者都可以艾特群成员,或者可以不艾特 image

Chandleroo avatar May 30 '24 07:05 Chandleroo

还有企业微信机器人这个通知配置,我理解手机号和userId非必填吧,二者都可以艾特群成员,或者可以不艾特 image

I will fix this problem because I have already done it on DingTalk notifications. You can open two issues, as these are two different problems.

zhangshenghang avatar May 30 '24 07:05 zhangshenghang

还有企业微信机器人这个通知配置,我理解手机号和userId非必填吧,二者都可以艾特群成员,或者可以不艾特 image

I will fix this problem because I have already done it on DingTalk notifications. You can open two issues, as these are two different problems.

好的,谢谢

Chandleroo avatar May 30 '24 07:05 Chandleroo

@Chandleroo hi if you want the status result is 0000, you can custom the metrics type is string not number. It is not a bug.

tomsun28 avatar May 30 '24 12:05 tomsun28

@Chandleroo hi if you want the status result is 0000, you can custom the metrics type is string not number. It is not a bug.

我确认了一下配置,就是设置的string,不是number

Chandleroo avatar Jun 03 '24 06:06 Chandleroo

@Chandleroo hi if you want the status result is 0000, you can custom the metrics type is string not number. It is not a bug.

我确认了一下配置,就是设置的string,不是number

Hi , I am trying to fix this issue , Please wait a few days

zhangshenghang avatar Jun 03 '24 08:06 zhangshenghang