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
{{ message }}
Repository navigation
Checkpoint probe status to avoid re-firing all probes when Cloudprober restarts? #1168
I'm a Cloudprober user who is interested in the idea of making CB checkpoint its state (i.e. when each probe last fired) to persistent storage so that when restarted, it can maintain its schedule and not immediately fire all probes again.
Would you like to add this feature? If so, I'd be happy to work on a PR. If not, then no problem; I'm also an OSS maintainer and understand that OSS packages need to reject features sometimes to avoid scope creep and bloat.
Just for clarity, are you proposing the ability to generate a checkpoint for stateful probes or all probes? For stateful or complex probes (e.g the browser probes), generating and consuming checkpoints across restarts makes sense.
But for HTTP/DNS/gRPC/UDP probes, they should be stateless and shouldn't have any transferrable state between old and new cloudprober processes. Or framed another way, which would be cheaper, consuming a checkpoint with state or just issuing a new stateless probe to get the freshest state possible?
I think the state that @alexdowad is talking about is when the probe was run last -- this makes sense for the setups that run probes infrequently, say with the interval of hours, and don't want to restart all probes right away on Cloudprober restart.
@alexdowad I understand the need, but being stateful is the bridge I want to avoid crossing for Cloudprober. It brings many possible issues with little benefits.
Activity
conallob commentedon Nov 20, 2025
Another occasional cloudprober contributor here.
Just for clarity, are you proposing the ability to generate a checkpoint for stateful probes or all probes? For stateful or complex probes (e.g the browser probes), generating and consuming checkpoints across restarts makes sense.
But for HTTP/DNS/gRPC/UDP probes, they should be stateless and shouldn't have any transferrable state between old and new cloudprober processes. Or framed another way, which would be cheaper, consuming a checkpoint with state or just issuing a new stateless probe to get the freshest state possible?
manugarg commentedon Nov 20, 2025
I think the state that @alexdowad is talking about is when the probe was run last -- this makes sense for the setups that run probes infrequently, say with the interval of hours, and don't want to restart all probes right away on Cloudprober restart.
@alexdowad I understand the need, but being stateful is the bridge I want to avoid crossing for Cloudprober. It brings many possible issues with little benefits.