Thanks!
Can I have an example for a condition based on StartsAt?

בתאריך יום רביעי, 11 במרץ 2020 בשעה 23:01:54 UTC+2, מאת Christian Hoffmann:
>
> Hi, 
>
> On 3/11/20 2:45 PM, eyal trigerman wrote: 
> > I would like to configure a different template for email subject: 
> > one template for the first notification for an alert 
> > other template for repeating notifications for an alert 
>
> I'm not sure if Alertmanager exposes this state for usage in the template. 
>
> You could probably heuristically derive this information from the 
> StartsAt value when compared with your repeat interval. However, I'm not 
> sure if the available functions are sufficient to do that. Maybe some 
> further research will shed some more light on this. :) 
>
> Kind regards, 
> Christian 
>

-- 
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/b60cb6d3-44a2-4065-8858-d10f21c009eb%40googlegroups.com.

Reply via email to