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
Maintaining an up-to-date cache, and reading the cache in the process start would allow us to send values at tight intervals before synthetic sizes have been calculated. We cannot maintain the cache by writing it once during shutdown, because in pratice pageservers often get SIGKILLed by systemd.
Alternatively the cache could be maintained by the service where pageserver sends the metrics to.
The text was updated successfully, but these errors were encountered:
Write collected metrics to disk to recover previously sent metrics on
restart.
Recover the previously collected metrics during startup, send them over
at right time
- send cached synthetic size before actual is calculated
- when `last_record_lsn` rolls back on startup
- stay at last sent `written_size` metric
- send `written_size_delta_bytes` metric as 0
Add test support: stateful verification of events in python tests.
Fixes: #5206
Cc: #5175 (loggings, will be enhanced in follow-up)
Related: #3542, #5175
Maintaining an up-to-date cache, and reading the cache in the process start would allow us to send values at tight intervals before synthetic sizes have been calculated. We cannot maintain the cache by writing it once during shutdown, because in pratice pageservers often get SIGKILLed by systemd.
Alternatively the cache could be maintained by the service where pageserver sends the metrics to.
The text was updated successfully, but these errors were encountered: