fix(monitoring): hardcode chatid as string in Telegram contact point
Grafana env var substitution of a numeric TELEGRAM_CHAT_ID caused
json unmarshal error (number into string field). chatid is not sensitive
so hardcode it directly; only bottoken uses ${TELEGRAM_BOT_TOKEN}.
This commit is contained in:
@@ -14,7 +14,7 @@ data:
|
|||||||
type: telegram
|
type: telegram
|
||||||
settings:
|
settings:
|
||||||
bottoken: "${TELEGRAM_BOT_TOKEN}"
|
bottoken: "${TELEGRAM_BOT_TOKEN}"
|
||||||
chatid: "${TELEGRAM_CHAT_ID}"
|
chatid: "5138407666"
|
||||||
parseMode: HTML
|
parseMode: HTML
|
||||||
disableResolveMessage: false
|
disableResolveMessage: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user