IntegrationsDatadogActions
Create Datadog monitor
Create a monitor with the curated payload shape. Requires monitors_write. Unsafe because Datadog does not document create replay idempotency.
monitors.create · Datadog · v1
Details
Scopes
None
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
name | string | Yes | minLength 1; maxLength 200 |
type | string | Yes | enum metric alert | query alert | service check | event-v2 alert |
query | string | Yes | minLength 1; maxLength 4096 |
message | string | Yes | maxLength 4000 |
tags | array<string> | No | maxItems 100 |
tags[] | string | Yes | minLength 1; maxLength 200 |
priority | integer | No | minimum 1; maximum 5 |
options | object | No | additionalProperties false |
options.notify_no_data | boolean | No | — |
options.no_data_timeframe | integer | No | minimum 0; maximum 1440 |
options.renotify_interval | integer | No | minimum 0; maximum 10080 |
options.evaluation_delay | integer | No | minimum 0; maximum 86400 |
options.include_tags | boolean | No | — |
options.require_full_window | boolean | No | — |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | integer | Yes | minimum 1 |
name | string | Yes | minLength 1; maxLength 200 |
type | string | Yes | minLength 1; maxLength 64 |
query | string | Yes | minLength 1; maxLength 4096 |
message | string | No | maxLength 4000 |
overall_state | string | No | minLength 1; maxLength 64 |
creator | string | No | minLength 3; maxLength 320 |
created_at | string | No | minLength 1; maxLength 64 |
modified_at | string | No | minLength 1; maxLength 64 |
tags | array<string> | Yes | maxItems 100 |
tags[] | string | Yes | minLength 1; maxLength 200 |
priority | integer | No | minimum 1; maximum 5 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"enum": [
"metric alert",
"query alert",
"service check",
"event-v2 alert"
]
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"message": {
"type": "string",
"maxLength": 4000
},
"tags": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 100
},
"priority": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"options": {
"type": "object",
"additionalProperties": false,
"properties": {
"notify_no_data": {
"type": "boolean"
},
"no_data_timeframe": {
"type": "integer",
"minimum": 0,
"maximum": 1440
},
"renotify_interval": {
"type": "integer",
"minimum": 0,
"maximum": 10080
},
"evaluation_delay": {
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"include_tags": {
"type": "boolean"
},
"require_full_window": {
"type": "boolean"
}
}
}
},
"required": [
"name",
"type",
"query",
"message"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"minimum": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"message": {
"type": "string",
"maxLength": 4000
},
"overall_state": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"creator": {
"type": "string",
"minLength": 3,
"maxLength": 320
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"modified_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"tags": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 100
},
"priority": {
"type": "integer",
"minimum": 1,
"maximum": 5
}
},
"required": [
"id",
"name",
"type",
"query",
"tags"
]
}