Datadog with YAML
Tip
YAML parameters for Datadog
| Name | Type | Description |
|---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to DATADOG. |
integration Required | String | The ID of the integration. |
alert_type Required | String | The type of the alert. Can be one of SUCCESS, WARNING or ERROR. |
| title | String | The title of the posted event. |
| content | String | The content of the posted event. |
| aggregation_key | String | An arbitrary string to use for aggregation, max length of 100 characters. If you specify a key, all events using that key will be grouped together in the Event Stream. |
| host | String | The Host name to associate with the event. Any tags associated with the host will also be applied to this event. |
| tags | String[] | The list of tags to apply to the event. |
| region | String | The Datadog region. Can be one of US1, US3, US5, EU1, AP1, US1_FED. If not set, the default is US1. |
YAML example for Datadog
yamlactions: - action: "Datadog Action" type: "DATADOG" trigger_time: "ON_EVERY_EXECUTION" host: "$host" title: "Something big happened!" content: "And let me tell you all about it here!" tags: - "version:1" - "application:web" region: "EU1" integration: "my_integration" alert_type: "warning" variables: - key: "host" value: "linux"
Last modified on Jul 31, 2025