Workflow Automation is not supported for your selected Datadog site ().
This page explains how to track different kinds of workflow activity and workflow costs.
Out-of-the-box dashboard
The Workflows Overview dashboard provides a high-level overview of your Datadog workflows and executions. To find the dashboard, go to your Dashboard list and search for Workflows Overview.
View workflow edits and runs in Audit Trail
You can view workflow edits and runs using Audit Trail.
For example, to see who edited a workflow:
From your workflow, click the (gear) in the upper right corner and click View audit events. An Audit Trail search filtered to your workflow opens.
In the left, under the Core filters, expand Action.
Hover over Modified and click Only to filter the results to show only workflow edits. The User ID column displays the username of the person who performed each edit.
You can use Datadog monitors to track various Workflow metrics.
The list of available metrics is:
Metric
Description
datadog.workflows.count
Number of non-deleted workflows.
datadog.workflows.executions.started
Number of workflow instances that have started.
datadog.workflows.executions.completed
Number of workflow instances that have completed.
datadog.workflows.steps.executions.started
Number of workflow instance steps that have started.
datadog.workflows.steps.executions.completed
Number of workflow instance steps that have completed.
To create a monitor that tracks whether daily workflow executions exceed a certain threshold, perform the following steps:
Go to New Monitor and select the Metric monitor type.
Under Define the metric, for a, fill in datadog.workflows.executions.started.
Optionally, to restrict the monitor to a specific workflow, for from, fill in workflow_id:[WORKFLOW-ID], replacing [WORKFLOW-ID] with the ID for your workflow.
For Evaluation Details, use the following values:
Evaluate the: sum
Of the query over the: last 1 day.
For Set alert conditions, choose above, then fill in an alert and warning threshold. For example, you could fill in an Alert threshold of 200 and a Warning threshold of 150.
Under Configure notifications & automations, name your workflow, then fill in message text. For example, you could use message text like the following:
@slack-alert-channel
{{#is_warning}}
Workflow has executed {{warn_threshold}} times in the last day; manual action might be needed to avoid alerting.
{{/is_warning}}
{{#is_alert}}
Workflow has executed {{threshold}} times in the last day, which is our budget threshold for workflows. We should unpublish the workflow to avoid any more automatic executions for the day.
{{/is_alert}}
Click Create.
View workflow events in Event Manager
You can use Event Manager to view workflow start and completion events by filtering on source:workflow_automation.
To see events for a specific workflow, in the Search facets box, search for workflow.workflow_id. You can select a specific set of IDs to view only events for those workflows.
You can also filter the output by Status to see only info, warn, or error messages.
Track workflow billing in Usage Attribution
Usage Attribution is an advanced feature included in the Enterprise plan. For all other plans, contact your account representative or success@datadoghq.com to request this feature.
To track billing for your workflow executions, perform the following steps: