What does `honor_timestamps` do?

AdvancedConceptPrometheus Architecture
Answer

By default (honor_timestamps: true) if an exposed sample carries an explicit timestamp, Prometheus uses it instead of the scrape time. Setting it to false forces the scrape time.

Exposing timestamps is almost always a mistake for live metrics: samples older than the head block window are rejected as out of bounds, and staleness handling does not work for timestamped series. It is legitimate only for federation and some exporters that mirror external systems.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Prometheus Architecture