You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scraping pushprom returns no timestamp for metrics, which may be very old. No staleness check is possible unless one metric contains a timestamp as a value.
Instead, pushprom could provide the timestamp when the metric was received.
We can't currently do this at this time, the Go client for Prometheus explicitly doesn't allow it. See this issue for more information: prometheus/client_golang#143
Scraping pushprom returns no timestamp for metrics, which may be very old. No staleness check is possible unless one metric contains a timestamp as a value.
Instead, pushprom could provide the timestamp when the metric was received.
The wire format allows it: https://prometheus.io/docs/instrumenting/exposition_formats/
The text was updated successfully, but these errors were encountered: