Workflow run time metrics
-
- UpdatedAug 3, 2023
- 3 minutes to read
- Vancouver
- Workflow
You can enable the collection of workflow run time metrics to determine whether workflows are performing as expected or consuming additional resources.
Outlying run times for a workflow are identified by comparing actual run times to an outlier range calculated with the outlier threshold and estimated run time defined in the workflow properties.
The functionality found in homepages, arranging information from your instance to tell a story about your data, is found in dashboards on new instances. On upgraded instances with Next Experience enabled, users can view existing homepages if they have a direct URL, but they can't create or edit them. Responsive dashboards and Analytics Center dashboards take over homepage functionality.
Use the Homepage deprecation help tool to convert the homepages on your instance to responsive dashboards.
Enable workflow run time metrics
Provide an estimated run time that can be compared to actual workflow run times.
About this task
Procedure
Outlying workflow run times
Workflow run times are identified as outliers when they are longer or shorter than the outlier range that is computed for the workflow.
The outlier range is automatically computed with the Estimated Run Time and Outlier Percentage Threshold for ERT values in the workflow properties. These values are used in the following formulas.
Value computed | Computation used | Example |
---|---|---|
Outlier Value | Estimated Run Time * (Outlier Percentage Threshold for ERT / 100) | 10 seconds * (20 / 100) 10 seconds * 0.2 = 2 seconds |
Outlier Range | (Estimated Run Time - Outlier Value) to (Estimated Run Time + Outlier Value) | (10 seconds - 2 seconds) to (10 seconds + 2 seconds) = 8 to 12 seconds |
When a workflow runs within the outlier range, its estimated run time is automatically updated.
If a workflow has an outlying run time, it appears in any outlier workflow gauges on the Workflow Operations Dashboard and custom home pages.
Workflow estimated run time updates
When a workflow runs within the outlier range, its estimated run time is automatically updated.
The estimated run time is updated with the cumulative moving average of the latest run time value in relation to previous run times. The computed value is rounded to the nearest second and stored as a GlideDateTime.
For example:
Data point | Latest value | Cumulative running average (CRA) | CRA after rounding to the nearest second |
---|---|---|---|
1 | 10 seconds | 10 seconds | 10 seconds |
2 | 12 seconds | 11 seconds | 11 seconds |
3 | 9 seconds | 10.333 seconds | 10 seconds |
You can also manually update the estimated run time in the workflow properties.