The Torq integration enables you to trigger workflows in response to Datadog alerts, providing alert enrichment. You can then send back events directly from your Torq workflows to your Datadog event stream and dedicated Torq dashboard.
To set up this integration, you must have an active Torq account and an Account Owner role in that account. You must also have proper admin permissions in Datadog.
Navigate to Integrations > Integrations, click the Webhooks card, and click New.
Enter a meaningful name for the Webhook integration and paste the generated Webhook URL from Torq. You need the integration name to associate the identifier (used for specific Datadog monitors to trigger Torq) and generated Webhook URL from Torq.
Torq recommends adding additional alert information to the payload. You can use portions of the following configuration:
Pick monitors to trigger Torq Playbooks and add a reference to the newly created Webhook integration in the Alert Your Team field. For more details, see Manage Monitors.
After you create the application key, copy and save it because you are not able to access it later. For more information, see [API and Application Keys]]8.
Hover over your user name and select Organization Settings.
From the left panel, click Application Keys.
Click + New Key.
Enter a meaningful name for the application key such as Torq and click Create Key.
Copy the Key and save it. You need this key to create a Datadog integration in Torq.
The Torq integration allows you to send events to your Datadog event stream from a Torq workflow using the Datadog Post Event step. You can use the step with your playbooks to notify Datadog about successful mitigations and execution failures. You can also send enriched alert data back to Datadog.