Datadog with YAML
List of YAML parameters and examples for the "Datadog" action.
提示
Learn more about:
YAML parameters for Datadog
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | 操作名称 |
type 必填 | String | The type of the action. Should be set to DATADOG . |
title 必填 | String | The title of the posted event. |
content 必填 | String | The content of the posted event. |
integration_hash 必填 | String | The ID of the integration. |
alert_type 必填 | String | The type of the alert. Can be one of SUCCESS , WARNING or ERROR . |
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 NA or EU . If not set, the default is NA . |
YAML example for Datadog
actions:
- 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: "EU"
integration_hash: "5ddb7c180fb38be67bd78a88a"
alert_type: "warning"
variables:
- key: "host"
value: "linux"