To be honest, multiple users were impacted by this, included me. I ended
up changing my alertmanager templates from

.EndsAt.Format "Mon Jan 2 15:04:05"

to

.EndsAt.Local.Format "Mon Jan 2 15:04:05"

which fixed my issue, but that was annoying.

All my custom webhook receivers required an update like this too.

On 10 Feb 21:53, Julius Volz wrote:
> This got changed in https://github.com/prometheus/prometheus/pull/7066
> 
> Indeed this never seems to have been included in a changelog entry by
> whoever cut 2.18.0, probably since it was deemed a minor cosmetic change
> that shouldn't affect users if the date field was handled correctly.
> 
> On Wed, Feb 10, 2021 at 5:24 PM [email protected] <
> [email protected]> wrote:
> 
> >
> > Hi. I upgraded the Prometheus version from 2.12.0 to 2.22.2 some days
> > back. One thing I noticed is that in my alerts, the startsAt was in
> > IST(UTC+5:30) when I was using 2.12.0 but it has changed to UTC time now. I
> > did not see anything in the changelogs regarding this in all the subsequent
> > versions after 2.12.0. Am I missing something here?
> >
> > Sample time stamps:
> > 2.12.0 -
> > "severity":"CRITICAL","source":"prometheus","startsAt":"2020-05-27T16:34:53.612166298+05:30","status":"firing"
> >
> > 2.22.2
> >
> > "severity":"CRITICAL","source":"prometheus","startsAt":"2021-02-10T15:40:53.612166298Z","status":"firing"
> >
> > Thanks in advance!
> >
> > --
> > 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/77aa0945-d463-4e16-970e-b67462d9f21fn%40googlegroups.com
> > <https://groups.google.com/d/msgid/prometheus-users/77aa0945-d463-4e16-970e-b67462d9f21fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> > .
> >
> 
> 
> -- 
> Julius Volz
> PromLabs - promlabs.com
> 
> -- 
> 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/CAObpH5yUtAUV8uQVf05vZJ8NYcy0HLjTnOCjG3-yyOoh%3DwJmuA%40mail.gmail.com.

-- 
Julien Pivotto
@roidelapluie

-- 
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/20210210214120.GA243312%40oxygen.

Reply via email to