Add flow-level SLA property #5857
Labels
area/backend
Needs backend code changes
enhancement
New feature or request
kind/customer-request
Requested by one or more customers
Feature description
In the first iteration, we'll only add
MAX_DURATION
to satisfy use cases such as this one:Context
Short Q&A to explain why this design was chosen.
Why is it a list?
In the future, the
sla
may evolve to have a specific behavior if given outputs/metrics violate the specified SLA requirements. Example:Why is it an ENUM rather than a plugin class?
The SLA is evaluated by the executor, so it shouldn't be a plugin that processes some data directly. The processing will need to be done by a worker and if some outputs/metrics are emitted by a plugin, we'll be able to capture them within the SLA.
Why is
maxDuration
counted fromCREATED
state?Some executions never get to a
RUNNING
state for various reasons. Counting themaxDuration
already from the moment the execution isCREATED
, will enable both of these use cases at the same time:The text was updated successfully, but these errors were encountered: