Hi,

If you are in such a particular setup, you can't use global proxy, you
will need to set it on every receiver but the ones requiring direct
internet access.

Regards

On 29 Apr 01:43, 林浩 wrote:
> Hello,
> 
> 
> I have global proxy_url setting which was required to send multiple pager & 
> slack channel receivers (10 +)
> 
>     global:
>       smtp_smarthost: 'xxx.xxx.com:25'
>       smtp_from: 'alertmanager@xxxorg'
>       http_config:
>         proxy_url: http://httpproxy.vip.xxx.com
> 
> I also want to setup a generic web hook, this webhook need  to by pass 
> (ignore)  global proxy_url setting, it means no proxy should be there for 
> webhook.
>  is there any way to override a global setting?  
> 
>     receivers:
>     - name: 'webhook'
>       webhook_configs:
>       - send_resolved: true
>         url: 'http://10.10.10.10:5000/alert_webhook'
> 
> I have tried to add below setting to webhook receivers, but it seems to 
> doesn't work.
> 
>       http_config:
>         proxy_url: ""
> 
> 
> Thanks for the help~
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/afce54af-64f5-484a-9338-57a15f0eb690%40googlegroups.com.


-- 
 (o-    Julien Pivotto
 //\    Open-Source Consultant
 V_/_   Inuits - https://www.inuits.eu

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20200429085400.GA56199%40oxygen.

Attachment: signature.asc
Description: PGP signature

Reply via email to