Skip to content

Log workflow task duration with external storage metrics - #3140

Open
jmaeagle99 wants to merge 1 commit into
mainfrom
storage-duration
Open

jmaeagle99 wants to merge 1 commit into
mainfrom
storage-duration

Conversation

@jmaeagle99

Copy link
Copy Markdown
Contributor

What was changed

When a WFT takes longer than 5 seconds, emit a TMPRL1104 warn log with external storage data. Threshold can be configured via the TEMPORAL_WORKFLOW_TASK_DURATION_WARN_SECONDS environment variable.

Why?

Help customers better identify causes of long running workflow tasks.

Checklist

  1. Closes SDK should log when WFT completion takes a long time - Java #2883

  2. How was this tested: unit tests

  3. Any docs updates needed? No

@jmaeagle99
jmaeagle99 requested a review from a team as a code owner October 9, 2026 18:09

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SDK should log when WFT completion takes a long time - Java

1 participant