prometheus-webhook-dingtalk icon indicating copy to clipboard operation
prometheus-webhook-dingtalk copied to clipboard

模板

Open im-jinxinwang opened this issue 5 years ago • 3 comments

1c3c69b539c1cb1043bb33617c18871

定义好的summary在钉钉报警的时候显示为[] 18d910ca7790b54bd9d9b3ee1bab126 希望大神能把模板的使用方法,能写在文档中。go小白有点不太会用,

im-jinxinwang avatar Jan 10 '20 02:01 im-jinxinwang

你的rules没有定义group是什么参数 模板里面只是引用的 image 像这样 我在rules里面定义了values 我模板里面就可以用这个参数 但是你没有定义group image

以上是我瞎猜 我不会go

yuge994 avatar Jan 16 '20 03:01 yuge994

你的rules没有定义group是什么参数 模板里面只是引用的

像这样 我在rules里面定义了values 我模板里面就可以用这个参数 但是你没有定义group

以上是我瞎猜 我不会go

我的也是模板没有生效,这个是什么原因呢?

yity avatar May 14 '20 09:05 yity

你的rules没有定义group是什么参数 模板里面只是引用的 像这样 我在rules里面定义了values 我模板里面就可以用这个参数 但是你没有定义group 以上是我瞎猜 我不会go

我的也是模板没有生效,这个是什么原因呢?

你的webhook启动的时候有没有把模板路径加上

yuge994 avatar May 14 '20 09:05 yuge994