How to use proxy for Telegram notifications channel

#1

Sending Alert notifications via Teleram fail when Grafana instance runs on a server without direct internet access.
And there is no obvious way to define http/https proxy for Telegram in channel configuration form or ini file.

Setting proxy globally for grafana in env doesn’t look as a good solution - as far as I understand it would also cause all http-based datasource communication go through proxy too.

Is there any way around this problem?

1 Like
#2

Hi,

At the moment you cannot configure this for telegram. You have to go with configure proxy globally for grafana in env variables. See this and this issue for details.

Marcus

#3

Hi!
The situation has not changed in a year? Very topical topic - to drive all traffic through the proxy is not very convenient, you need only the alerts from the telegrams of the bot.