Skip to content

Checkpoint probe status to avoid re-firing all probes when Cloudprober restarts? #1168

Open

Description

@alexdowad

Dear Cloudprober devs,

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.

Activity

  1. added
    enhancement
    on Oct 31, 2025
  2. conallob commented on Nov 20, 2025

    @conallob
    Contributor

    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?

  3. manugarg commented on Nov 20, 2025

    @manugarg
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions