Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds mosquito api for Executors #147

Merged
merged 3 commits into from
Oct 23, 2024
Merged

Adds mosquito api for Executors #147

merged 3 commits into from
Oct 23, 2024

Conversation

robacarp
Copy link
Collaborator

@robacarp robacarp commented Oct 23, 2024

Mosquito::Api is a new module designed to facilitate visibility into a running mosquito cluster. This is the first member class of the module, and it allows inspecting a single executor by ID.

The Mosquito::Api is a read-only interface. For an existent Runner::Executor, the API allows querying:

  • #current_job - the job run id that the executor is currently working on
  • #current_job_queue - the queue which held the job run
  • #last_heartbeat - a timestamp which was last updated when the executor finished a job run.

The Runner::Executor checks in with the API through an interface called Observability::Executor, which is the write interface paired with the API.

@robacarp robacarp merged commit ea78512 into master Oct 23, 2024
3 checks passed
@robacarp robacarp deleted the adds_mosquito_api branch October 23, 2024 12:53
@robacarp robacarp added this to the API milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant