Datadog with YAML

YAML parameters for Datadog

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to DATADOG.
title
Required
StringThe title of the posted event.
content
Required
StringThe content of the posted event.
integration_id
Required
IntegerThe ID of the integration.
alert_type
Required
StringThe type of the alert. Can be one of SUCCESS, WARNING or ERROR.
aggregation_keyStringAn 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.
hostStringThe Host name to associate with the event. Any tags associated with the host will also be applied to this event.
tagsString[]The list of tags to apply to the event.
regionStringThe 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_id: 1
alert_type: "warning"
variables:
- key: "host"
value: "linux"