Prometheus metric clients aren't supposed to attach timestamps to metrics. The prometheus server will attach timestamps when metrics are scraped.
It may still be useful to have timestamps tracked in memory for debugging, or other serialization formats. For that reason we can keep them in the code, just not serialize them when the user requests prometheus serialization.
Prometheus metric clients aren't supposed to attach timestamps to metrics. The prometheus server will attach timestamps when metrics are scraped.
It may still be useful to have timestamps tracked in memory for debugging, or other serialization formats. For that reason we can keep them in the code, just not serialize them when the user requests prometheus serialization.