datadog
Datadog is a comprehensive monitoring and analytics platform for infrastructure, applications, logs, and more. It enables organizations to gain real-time visibility into the health and performance of systems, detect anomalies, and automate incident response.
With Datadog, you can:
Monitor metrics: Collect, visualize, and analyze metrics from servers, cloud services, and custom applications.
Query time series data: Run advanced queries on performance metrics for trend analysis and reporting.
Manage monitors and events: Set up monitors to detect issues, trigger alerts, and create events for observability.
Handle downtimes: Schedule and programmatically manage planned downtimes to suppress alerts during maintenance.
Analyze logs and traces (with additional setup in Datadog): Centralize and inspect logs or distributed traces for deeper troubleshooting.
Agent Forge’s Datadog integration lets your agents automate these operations and interact with your Datadog account programmatically. Use it to submit custom metrics, query timeseries data, manage monitors, create events, and streamline your monitoring workflows directly within Agent Forge automations.
Usage Instructions
Integrate Datadog monitoring into workflows. Submit metrics, manage monitors, query logs, create events, handle downtimes, and more.
Tools
datadog_submit_metrics
datadog_submit_metricsSubmit custom metrics to Datadog. Use for tracking application performance, business metrics, or custom monitoring data.
Input
series
string
Yes
JSON array of metric series to submit. Each series should include metric name, type (gauge/rate/count), points (timestamp/value pairs), and optional tags.
apiKey
string
Yes
Datadog API key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
success
boolean
Whether the metrics were submitted successfully
errors
array
Any errors that occurred during submission
datadog_query_timeseries
datadog_query_timeseriesQuery metric timeseries data from Datadog. Use for analyzing trends, creating reports, or retrieving metric values.
Input
query
string
Yes
Datadog metrics query (e.g., "avg:system.cpu.user{*}")
from
number
Yes
Start time as Unix timestamp in seconds
to
number
Yes
End time as Unix timestamp in seconds
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
series
array
Array of timeseries data with metric name, tags, and data points
status
string
Query status
datadog_create_event
datadog_create_eventPost an event to the Datadog event stream. Use for deployment notifications, alerts, or any significant occurrences.
Input
title
string
Yes
Event title
text
string
Yes
Event body/description. Supports markdown.
alertType
string
No
Alert type: error, warning, info, success, user_update, recommendation, or snapshot
priority
string
No
Event priority: normal or low
host
string
No
Host name to associate with this event
tags
string
No
Comma-separated list of tags (e.g., "env:production,service:api")
aggregationKey
string
No
Key to aggregate events together
sourceTypeName
string
No
Source type name for the event
dateHappened
number
No
Unix timestamp when the event occurred (defaults to now)
apiKey
string
Yes
Datadog API key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
event
object
The created event details
datadog_create_monitor
datadog_create_monitorCreate a new monitor/alert in Datadog. Monitors can track metrics, service checks, events, and more.
Input
name
string
Yes
Monitor name
type
string
Yes
Monitor type: metric alert, service check, event alert, process alert, log alert, query alert, composite, synthetics alert, slo alert
query
string
Yes
Monitor query (e.g., "avg(last_5m):avg:system.cpu.idle{*} < 20")
message
string
No
Message to include with notifications. Can include @-mentions and markdown.
tags
string
No
Comma-separated list of tags
priority
number
No
Monitor priority (1-5, where 1 is highest)
options
string
No
JSON string of monitor options (thresholds, notify_no_data, renotify_interval, etc.)
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
monitor
object
The created monitor details
datadog_get_monitor
datadog_get_monitorRetrieve details of a specific monitor by ID.
Input
monitorId
string
Yes
The ID of the monitor to retrieve
groupStates
string
No
Comma-separated group states to include: alert, warn, no data, ok
withDowntimes
boolean
No
Include downtime data with the monitor
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
monitor
object
The monitor details
datadog_list_monitors
datadog_list_monitorsList all monitors in Datadog with optional filtering by name, tags, or state.
Input
groupStates
string
No
Comma-separated group states to filter by: alert, warn, no data, ok
name
string
No
Filter monitors by name (partial match)
tags
string
No
Comma-separated list of tags to filter by
monitorTags
string
No
Comma-separated list of monitor tags to filter by
withDowntimes
boolean
No
Include downtime data with monitors
page
number
No
Page number for pagination (0-indexed)
pageSize
number
No
Number of monitors per page (max 1000)
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
monitors
array
List of monitors
datadog_mute_monitor
datadog_mute_monitorMute a monitor to temporarily suppress notifications.
Input
monitorId
string
Yes
The ID of the monitor to mute
scope
string
No
Scope to mute (e.g., "host:myhost"). If not specified, mutes all scopes.
end
number
No
Unix timestamp when the mute should end. If not specified, mutes indefinitely.
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
success
boolean
Whether the monitor was successfully muted
datadog_query_logs
datadog_query_logsSearch and retrieve logs from Datadog. Use for troubleshooting, analysis, or monitoring.
Input
query
string
Yes
Log search query (e.g., "service:web-app status:error")
from
string
Yes
Start time in ISO-8601 format or relative (e.g., "now-1h")
to
string
Yes
End time in ISO-8601 format or relative (e.g., "now")
limit
number
No
Maximum number of logs to return (default: 50, max: 1000)
sort
string
No
Sort order: timestamp (oldest first) or -timestamp (newest first)
indexes
string
No
Comma-separated list of log indexes to search
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
logs
array
List of log entries
datadog_send_logs
datadog_send_logsSend log entries to Datadog for centralized logging and analysis.
Input
logs
string
Yes
JSON array of log entries. Each entry should have message and optionally ddsource, ddtags, hostname, service.
apiKey
string
Yes
Datadog API key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
success
boolean
Whether the logs were sent successfully
datadog_create_downtime
datadog_create_downtimeSchedule a downtime to suppress monitor notifications during maintenance windows.
Input
scope
string
Yes
Scope to apply downtime to (e.g., "host:myhost", "env:production", or "*" for all)
message
string
No
Message to display during downtime
start
number
No
Unix timestamp for downtime start (defaults to now)
end
number
No
Unix timestamp for downtime end
timezone
string
No
Timezone for the downtime (e.g., "America/New_York")
monitorId
string
No
Specific monitor ID to mute
monitorTags
string
No
Comma-separated monitor tags to match (e.g., "team:backend,priority:high")
muteFirstRecoveryNotification
boolean
No
Mute the first recovery notification
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
downtime
object
The created downtime details
datadog_list_downtimes
datadog_list_downtimesList all scheduled downtimes in Datadog.
Input
currentOnly
boolean
No
Only return currently active downtimes
monitorId
string
No
Filter by monitor ID
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
downtimes
array
List of downtimes
datadog_cancel_downtime
datadog_cancel_downtimeCancel a scheduled downtime.
Input
downtimeId
string
Yes
The ID of the downtime to cancel
apiKey
string
Yes
Datadog API key
applicationKey
string
Yes
Datadog Application key
site
string
No
Datadog site/region (default: datadoghq.com)
Output
success
boolean
Whether the downtime was successfully canceled
Notes
Category:
toolsType:
datadog
Was this helpful?
