A plugin that can be used to capture metrics in Client.
Mark the measuring transaction finished once the task is completed.
Can be used to log this transaction.
Invoked when there is any error in the ongoing task. The metrics tool can use this information to attach to the ongoing transaction.
Start the measurement of the metrics as soon as task is started.