A couple questions related to monitoring and logging heartbeat timeouts:
- Is there a default metric for heartbeat timeouts by activity? I didn’t see one but could have missed it.
- If I wanted to log a message when an activity heartbeat timeout occurs, how could I do that? It seems like I could catch
ActivityTimeoutExceptionand check for
TimeoutType=HEARTBEAT, but I can’t catch that from the workflow if I’m also using retries until the retries expire.