Monitoring Screen Flow Steps Duration


📘

Available since: v5.1.20

Accepts a value in milliseconds. When a screen flow step execution exceeds the configured threshold, a warning is logged that includes the step name and its execution time.

Usage

Set the property to monitor for slow steps in your screen workflow. For example, a value of 1000 will trigger a warning for any step that takes longer than one second to execute.

ol:
	flow:
  	step-threshold-ms: 1000

This helps surface potential performance bottlenecks so you can investigate and optimize the affected steps.

You can also use it as an environment variable:

OL_FLOW_STEP_THRESHOLD_MS=1000

Notes

  • The value must be a positive integer representing milliseconds.
  • No warning is logged if a step completes within the threshold.
  • This property is optional. if omitted, no slow-step warnings are emitted.