Datadog Service Check with YAML
Tip
Learn more about:
YAML parameters for Datadog Service Check
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to DATADOG_STATUS_CHECK . |
integration Required | String | The ID of the integration. |
host_name | String | The Host name to associate with the event. Any tags associated with the host will also be applied to this event. |
status | Integer | An integer for the status of the check. |
check | String | The text for the message. |
message | String | A description of why this status occurred. |
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 Service Check
yamlactions: - action: "Datadog Service Check Action" type: "DATADOG_STATUS_CHECK" trigger_time: "ON_EVERY_EXECUTION" host_name: "$host" status: 2 check: "Pipeline Execution" message: "And let me tell you all about it here!" region: "EU1" integration: "my_integration" variables: - key: "host" value: "linux"
Last modified on Sep 24, 2024