On 20.09.21 10:53, John Yost wrote: > Does anyone have an example of honor_timestamps=true in particular, how to > specify the timestamp field?
See https://prometheus.io/docs/instrumenting/exposition_formats/ for the spec of the exposition format, which also include timestamps. Instrumentation libraries might or might not support adding timestamps. Example for the Go library: https://pkg.go.dev/github.com/prometheus/client_golang/prometheus#NewMetricWithTimestamp Note, however, that adding timestamps is an extremely niche use case. Most of the users who think the need it should actually not do it. The main usecases within that tiny niche are federation and mirroring the data from another monitoring system. -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] [email protected] -- 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/20210928175310.GZ3692%40jahnn.

