Skip to content

Add gRPC service for on-demand probe execution #23

Open
0 of 1 issue completed
Open

Description

@manugarg

Copied from google/cloudprober#26, originally filed by @manugarg.

It will be useful to add a gRPC service to cloudprober that will allow on-demand probe execution.

Activity

  1. added
    enhancement
    on Nov 2, 2021
  2. modified the milestone: v0.12.9 on Sep 7, 2023
  3. manugarg commented on Mar 22, 2024

    @manugarg
    ContributorAuthor

    For this to really work well, all probes will need to support single run. Current probe interface doesn't include that. With single run we'll also be able to do things like:

    $ cloudprober http-probe http://mysite.com
    success
    latency:
      - overall: ..
      - dns:
      - connect:
      -  ...
    
  4. self-assigned this
    on Jan 18, 2025
  5. manugarg commented on Aug 12, 2025

    @manugarg
    ContributorAuthor

    Thinking more about the interface, service can have 2 broad interfaces:

    • Execute the predefined config on demand. One could get a list of probes using the current interface, and then run a particular probe from the existing probes.
    • Execute a new probe where we provide config in the request. It will be similar to the existing AddProbe interface but instead of adding a new probe, we'll just execute it once.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions