ExecutionEvent currently exposes some of the useful data on ExecutionContext but not all, specifically getElapsedAttemptTime could be useful. The use case I have is tracking metrics for how long individual attempts take.
I was attempting to do this in an onRetry handler. A question is whether getElapsedAttemptTime would return the elapsed time of the previous attempt at this point. If not, then presumably it would return the elapsed time of the previous attempt in an onFailedAttempt handler. Some documentation would clearly be needed to indicate what attempt this is tracking at various stages of the retry cycle.
ExecutionEvent
currently exposes some of the useful data onExecutionContext
but not all, specificallygetElapsedAttemptTime
could be useful. The use case I have is tracking metrics for how long individual attempts take.I was attempting to do this in an
onRetry
handler. A question is whethergetElapsedAttemptTime
would return the elapsed time of the previous attempt at this point. If not, then presumably it would return the elapsed time of the previous attempt in anonFailedAttempt
handler. Some documentation would clearly be needed to indicate what attempt this is tracking at various stages of the retry cycle.