https://prefect.io logo
Title
a

Adam Brusselback

08/31/2022, 12:29 PM
Is there planned to be any concept of "agents" in the api/UI that shows the different agents that have been connected over time, when they were last active, etc?
1
a

Anna Geller

08/31/2022, 1:35 PM
Stay tuned, we are working on a cool feature that will allow tracking the agent's health in a really nice way, letting you to e.g. react if no agent heartbeats were detected for a given time (SLA-based approach)
s

Sebastian

08/31/2022, 1:59 PM
@Anna Geller Do you also plan for users to be able to incorporate custom / additional health checking logic? Cheers!
a

Anna Geller

08/31/2022, 2:05 PM
What do you mean by custom health checking?
s

Sebastian

09/01/2022, 10:46 AM
For instance if I would like an Agent to be healthy / able to schedule jobs only when a certain condition is met.
a

Anna Geller

09/01/2022, 12:07 PM
What conditions?
s

Sebastian

09/02/2022, 8:56 PM
For example a service needs to be available to the agent before any jobs can be accepted (in my case a windows process needs to run / respond).
a

Anna Geller

09/03/2022, 1:07 PM
Agent is meant to be used as a long running daemon process polling for work from work queue rather than on-demand process you would spin up when something happens (some service becoming available). We are working on a feature that will support such event-driven use cases in a first class way
🙏 1
s

Sebastian

09/14/2022, 10:26 AM
Thanks @Anna Geller.
👍 1