I found the issue. Thanks.
On Saturday, 11 April 2020 12:40:02 UTC-7, manjeet kadam wrote:
>
> We are trying to route alerts based on namespace Names using email and 
> slack config. Basically, if pod is deployed in test namespace then send 
> email to [email protected] and slack to #test channel. I tried accessing {{ 
> .Labels.namespace }} in email’s to option and also slack’s channel option. 
> It gives “can’t evaluate field Labels in type *template. Data”. Any help 
> would be appreciated.
>
> Thanks.
>

-- 
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/a25380f7-3fb0-40c3-9f44-ab69eedbe5fc%40googlegroups.com.

Reply via email to