On Mon, 7 Sep 2020 at 16:23, Asaf Mesika <[email protected]> wrote: > Hi, > > I'm trying to see which API I need to answer to write a Remote Storage, > and there is something which is explicit, so I'd thought I'll ask here: > > https://github.com/prometheus/prometheus/blob/master/prompb/types.proto > > > message Sample { > double value = 1; > int64 timestamp = 2; } > > What are the units for timestamp? Seconds (my guess) or milliseconds? >
Yes, it'll be milliseconds as that's what Prometheus uses internally. Brian > > Maybe it's better to name it accordingly (it won't break backward > compatibility due to IDs right?) > > Thanks! > > -- > 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/254ab508-bdf8-4ef5-a9ea-9af59ad9cd6bn%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-developers/254ab508-bdf8-4ef5-a9ea-9af59ad9cd6bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Brian Brazil www.robustperception.io -- 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/CAHJKeLp2Y2edCN%3DE8hpdyz%2BwgJ6YH1nPgPSbXkM20hCGyiZDmw%40mail.gmail.com.

