Thanks

On Thursday, September 2, 2021 at 9:35:57 PM UTC+5:30 [email protected] 
wrote:

> On 31.08.21 04:27, Prince wrote:
> > 
> > for NewMetricWithTimestamp(time.Time,metric) Is it compulsory that the 
> > time should be in UTC?
>
> Short answer: No.
>
> The Go `time.Time` type includes the time zone. It can use any time
> zone. The library will then use the capabilities of the Go `time.Time`
> type to convert it into Unix-time, as required by the exposition
> format, which is independent of time zones.
>
> In different news: Using the Prometheus instrumentation libraries to
> instrument your code counts as using Prometheus and should be
> discussed on the Prometheus users mailing list, see
> https://groups.google.com/forum/#!forum/prometheus-users
>
> This here is the mailing list to discuss development of the various
> Prometheus components itself.
>
> -- 
> Björn Rabenstein
> [PGP-ID] 0x851C3DA17D748D03
> [email] [email protected]
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" 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-developers/bebd4d75-22a8-4a52-ac46-331caae5574fn%40googlegroups.com.

Reply via email to