Monitoring metrics

更新时间:
复制 MD 格式

CloudFlow reports execution metrics to CloudMonitor. Use these metrics to track flow health, measure performance, and set up alerts for failures and timeouts.

Flow execution metrics

The following metrics track each flow execution from start to completion, failure, or timeout.

Metric

Unit

Description

ExecutionsStarted

Count

Flow executions started. Corresponds to ExecutionStarted events.

ExecutionsSucceeded

Count

Flow executions completed successfully. Corresponds to ExecutionSucceeded events.

ExecutionsFailed

Count

Flow executions that failed. Corresponds to ExecutionFailed events.

ExecutionsTimedOut

Count

Flow executions that timed out. Corresponds to ExecutionTimedOut events.

StateTransitions

Count

State transitions during flow execution. Corresponds to EnterEvent events.

ExecutionExecTimeMs

ms

Average execution duration, measured from ExecutionStarted to ExecutionStopped, ExecutionSucceeded, or ExecutionFailed.

Monitor and alert on metrics

  • Compare ExecutionsStarted against ExecutionsSucceeded to calculate your flow success rate.

  • Set CloudMonitor alerts on ExecutionsFailed and ExecutionsTimedOut to detect failures and timeouts early.

  • Use StateTransitions to gauge flow complexity. A sudden spike may indicate unexpected looping or branching behavior.

What's next

  • Configure alert rules in CloudMonitor to get notified when flow executions fail or exceed expected durations.

  • View monitoring charts in the CloudMonitor console to visualize metric trends across your flows.