Getting the most out of the Billable Action Count metric
Blog post from Temporal
Temporal Cloud introduced the metric temporal_cloud_v1_billable_action_count to track the per-second rate of billable actions by Action Type and Workflow Type, offering insights into which workflows consume the most actions and drive costs. This metric aids in cost analysis, debugging, and alerting, though it serves as an estimate rather than a precise billing tool, and not all Action Types are included. It is aggregated at the Workflow Type and Action Type level, rather than per individual Workflow Execution, allowing for trend and anomaly identification. The metric can be used to rank actions by consumption, estimate total actions over a period, and optimize system usage by identifying inefficiencies. It also facilitates debugging by providing different perspectives on Workflow execution paths and can be used to detect rare issues or regressions post-deployment. Alerts can be set up based on action volume spikes or high retry rates. Beyond immediate usage, the metric assists in usage planning, measuring optimization impacts, and attributing per-team usage, while operational reminders emphasize proper query conventions and data management.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 1 | 5,457 | 1,338 | 238 | -5% |