How to set proxy for telegram and smtp

I can not find proxy setting in kapacitor.conf, is there any way we can enable proxy for alert?

The Kapacitor Telegraf agent uses the golang HTTP client, so you can set that with the environment variables $http_proxy (or $https_proxy). As for SMTP, we don’t currently have logic in place for that, but that sounds like a great feature request.