How to send Grafana alerts to Telegram through proxy server


How to set the proxy server to send Grafana alerts to Telegram (where grafana is a docker container)

Using few blogs and this community, I have set the environmental variables, i.e, HTTP_PROXY and HTTPS_PROXY. Please specify the exact steps where and what all properties needs to be set.

Error mesage :

apiAction=sendMessagegrafana | t=2020-09-28T08:19:05+0000 lvl=eror msg=“Failed to send webhook” logger=alerting.notifier.telegram error=“Post “[—BOT API TOKEN—)”:](https://user-defined-url/v2/url?u=https-3A__api.telegram.org_bot(—BOT API TOKEN----)=hOGBM3AfNjuwvqs0ouDSnGcFyXxxxcVb4oMhX9V3D5s&m=Zjm48ZgfFsuIyDE-670d8LoZYNwtqs9LAxMaHJicfzw&s=Cu6s2IXY_TiMlgz7Cu3Ptt4zwjhgObvu-DC_OqkLZvo&e=) dial tcp i/o timeout (Client.Timeout exceeded while awaiting headers)” webhook=Grafana_Telegram

Note: there is no security layer issue.

Thanks in advance.