From a4f67f55521176a66ed5ea4720b8cbb956d5f289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=AA=E6=98=8E=E5=A4=A7=E7=94=B7=E5=AD=A9?= Date: Mon, 22 Jul 2024 12:31:59 +0800 Subject: [PATCH] Update app-example.conf Add the setting of TG_PARSE_MODE to the conf file --- conf/app-example.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/app-example.conf b/conf/app-example.conf index 62ddf31c..1592f0d4 100644 --- a/conf/app-example.conf +++ b/conf/app-example.conf @@ -205,6 +205,8 @@ TG_USERID=xxxxx TG_CHANNAME=xxxxx #tg api地址, 可以配置为代理地址 #TG_API_PROXY="https://api.telegram.org/bot%s/%s" +#TG_PARSE_MODE设置为 "1" ,启用Markdown +TG_PARSE_MODE = "0" #---------------------↓workwechat接口----------------------- #是否开启workwechat告警通道,可同时开始多个通道0为关闭,1为开启 @@ -297,4 +299,4 @@ kafka_server = 127.0.0.1:9092 # 写入消息的kafka topic kafka_topic = devops # 用户标记该消息是来自PrometheusAlert,一般无需修改 -kafka_key = PrometheusAlert \ No newline at end of file +kafka_key = PrometheusAlert