Datadog
API actions for the Datadog integration.
Datadog
Monitor infrastructure and send events with Datadog.
Create event
Create a Datadog event.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | Yes | The title of the event |
text | string | Yes | The body text of the event |
alert_type | string | No | [Optional] The alert type (e.g., error, warning, info, success) |
Response
{
"id": 67890,
"text": "Application v1.2.3 deployed successfully",
"title": "Deployment Complete",
"url": "https://app.datadoghq.com/event/event?id=67890"
}Get monitor
Retrieve a monitor by id.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
monitor_id | string | Yes | The unique identifier of the monitor to retrieve |
Response
{
"id": 12345,
"message": "CPU usage is high",
"name": "CPU Usage Monitor",
"overall_state": "OK",
"query": "avg(last_5m):avg:system.cpu.user{*} > 90",
"type": "metric alert"
}