Datadog

Monitor infrastructure, applications, and logs with Datadog

Configuration

Submit Metrics

Operation
Submit Metrics
API Key*
••••••••
Datadog Site
Select...
Metrics Data (JSON)*
json
Describe the metrics you want to submit...
Submit Metrics (datadog_submit_metrics)

Submit custom metrics to Datadog. Use for tracking application performance, business metrics, or custom monitoring data.

Input
ParameterTypeRequiredDescription
seriesstringYesJSON array of metric series to submit. Each series should include metric name, type (gauge/rate/count), points (timestamp/value pairs), and optional tags.
apiKeystringYesDatadog API key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
successbooleanWhether the metrics were submitted successfully

Query Timeseries

Operation
Query Timeseries
API Key*
••••••••
Datadog Site
Select...
Query*
avg:system.cpu.user{*}
From (Unix Timestamp)*
e.g., 1701360000
To (Unix Timestamp)*
e.g., 1701446400
Application Key*
••••••••
Query Timeseries (datadog_query_timeseries)

Query metric timeseries data from Datadog. Use for analyzing trends, creating reports, or retrieving metric values.

Input
ParameterTypeRequiredDescription
querystringYesDatadog metrics query (e.g., "avg:system.cpu.user{*}")
fromnumberYesStart time as Unix timestamp in seconds
tonumberYesEnd time as Unix timestamp in seconds
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
seriesarrayArray of timeseries data with metric name, tags, and data points

Create Event

Operation
Create Event
API Key*
••••••••
Datadog Site
Select...
Event Title*
Deployment completed
Event Text*
Describe the event...
Alert Type
Select...
Priority
Select...
Tags
env:production, service:api
Create Event (datadog_create_event)

Post an event to the Datadog event stream. Use for deployment notifications, alerts, or any significant occurrences.

Input
ParameterTypeRequiredDescription
titlestringYesEvent title
textstringYesEvent body/description. Supports markdown.
alertTypestringNoAlert type: error, warning, info, success, user_update, recommendation, or snapshot
prioritystringNoEvent priority: normal or low
hoststringNoHost name to associate with this event
tagsstringNoComma-separated list of tags (e.g., "env:production,service:api")
aggregationKeystringNoKey to aggregate events together
sourceTypeNamestringNoSource type name for the event
dateHappenednumberNoUnix timestamp when the event occurred (defaults to now)
apiKeystringYesDatadog API key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
idnumberEvent ID
titlestringEvent title
textstringEvent text
date_happenednumberUnix timestamp when event occurred
prioritystringEvent priority
alert_typestringAlert type
hoststringAssociated host
tagsarrayEvent tags

Create Monitor

Operation
Create Monitor
API Key*
••••••••
Datadog Site
Select...
Monitor Name*
High CPU Usage Alert
Monitor Type*
Select...
Monitor Query*
avg(last_5m):avg:system.cpu.idle{*} < 20
Notification Message
Alert! CPU usage is high. @slack-alerts
Tags
team:backend, priority:high
Priority (1-5)
3
Options (JSON)
json
{"notify_no_data": true, "thresholds": {"critical": 90}}
Application Key*
••••••••
Create Monitor (datadog_create_monitor)

Create a new monitor/alert in Datadog. Monitors can track metrics, service checks, events, and more.

Input
ParameterTypeRequiredDescription
namestringYesMonitor name
typestringYesMonitor type: metric alert, service check, event alert, process alert, log alert, query alert, composite, synthetics alert, slo alert
querystringYesMonitor query (e.g., "avg(last_5m):avg:system.cpu.idle{*} < 20")
messagestringNoMessage to include with notifications. Can include @-mentions and markdown.
tagsstringNoComma-separated list of tags
prioritynumberNoMonitor priority (1-5, where 1 is highest)
optionsstringNoJSON string of monitor options (thresholds, notify_no_data, renotify_interval, etc.)
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
idnumberMonitor ID
namestringMonitor name
typestringMonitor type
querystringMonitor query
messagestringNotification message
tagsarrayMonitor tags
prioritynumberMonitor priority
overall_statestringCurrent monitor state
createdstringCreation timestamp

Get Monitor

Operation
Get Monitor
API Key*
••••••••
Datadog Site
Select...
Monitor ID*
12345678
Application Key*
••••••••
Get Monitor (datadog_get_monitor)

Retrieve details of a specific monitor by ID.

Input
ParameterTypeRequiredDescription
monitorIdstringYesThe ID of the monitor to retrieve
groupStatesstringNoComma-separated group states to include: alert, warn, no data, ok
withDowntimesbooleanNoInclude downtime data with the monitor
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
idnumberMonitor ID
namestringMonitor name
typestringMonitor type
querystringMonitor query
messagestringNotification message
tagsarrayMonitor tags
prioritynumberMonitor priority
overall_statestringCurrent monitor state
createdstringCreation timestamp

List Monitors

Operation
List Monitors
API Key*
••••••••
Datadog Site
Select...
Filter by Name
CPU
Filter by Tags
env:production
Application Key*
••••••••
List Monitors (datadog_list_monitors)

List all monitors in Datadog with optional filtering by name, tags, or state.

Input
ParameterTypeRequiredDescription
groupStatesstringNoComma-separated group states to filter by: alert, warn, no data, ok
namestringNoFilter monitors by name (partial match)
tagsstringNoComma-separated list of tags to filter by
monitorTagsstringNoComma-separated list of monitor tags to filter by
withDowntimesbooleanNoInclude downtime data with monitors
pagenumberNoPage number for pagination (0-indexed)
pageSizenumberNoNumber of monitors per page (max 1000)
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
idnumberMonitor ID
namestringMonitor name
typestringMonitor type
querystringMonitor query
overall_statestringCurrent state

Mute Monitor

Operation
Mute Monitor
API Key*
••••••••
Datadog Site
Select...
Monitor ID*
12345678
Scope
host:myhost (optional)
End Time (Unix Timestamp)
Leave empty for indefinite
Application Key*
••••••••
Mute Monitor (datadog_mute_monitor)

Mute a monitor to temporarily suppress notifications.

Input
ParameterTypeRequiredDescription
monitorIdstringYesThe ID of the monitor to mute
scopestringNoScope to mute (e.g., "host:myhost"). If not specified, mutes all scopes.
endnumberNoUnix timestamp when the mute should end. If not specified, mutes indefinitely.
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output

Refer to the block outputs for this operation.


Query Logs

Operation
Query Logs
API Key*
••••••••
Datadog Site
Select...
Search Query*
service:web-app status:error
From*
now-1h
To*
now
Limit
50
Application Key*
••••••••
Query Logs (datadog_query_logs)

Search and retrieve logs from Datadog. Use for troubleshooting, analysis, or monitoring.

Input
ParameterTypeRequiredDescription
querystringYesLog search query (e.g., "service:web-app status:error")
fromstringYesStart time in ISO-8601 format or relative (e.g., "now-1h")
tostringYesEnd time in ISO-8601 format or relative (e.g., "now")
limitnumberNoMaximum number of logs to return (default: 50, max: 1000)
sortstringNoSort order: timestamp (oldest first) or -timestamp (newest first)
indexesstringNoComma-separated list of log indexes to search
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
idstringLog ID
timestampstringLog timestamp
hoststringHost name
servicestringService name
messagestringLog message

Send Logs

Operation
Send Logs
API Key*
••••••••
Datadog Site
Select...
Logs (JSON)*
json
Describe the logs you want to send...
Send Logs (datadog_send_logs)

Send log entries to Datadog for centralized logging and analysis.

Input
ParameterTypeRequiredDescription
logsstringYesJSON array of log entries. Each entry should have message and optionally ddsource, ddtags, hostname, service.
apiKeystringYesDatadog API key
sitestringNoDatadog site/region (default: datadoghq.com)
Output

Refer to the block outputs for this operation.


Create Downtime

Operation
Create Downtime
API Key*
••••••••
Datadog Site
Select...
Scope*
host:myhost or env:production or *
Message
Scheduled maintenance
Start Time (Unix Timestamp)
Leave empty for now
End Time (Unix Timestamp)
e.g., 1701450000
Monitor ID (optional)
12345678
Application Key*
••••••••
Create Downtime (datadog_create_downtime)

Schedule a downtime to suppress monitor notifications during maintenance windows.

Input
ParameterTypeRequiredDescription
scopestringYesScope to apply downtime to (e.g., "host:myhost", "env:production", or "*" for all)
messagestringNoMessage to display during downtime
startnumberNoUnix timestamp for downtime start (defaults to now)
endnumberNoUnix timestamp for downtime end
timezonestringNoTimezone for the downtime (e.g., "America/New_York")
monitorIdstringNoSpecific monitor ID to mute
monitorTagsstringNoComma-separated monitor tags to match (e.g., "team:backend,priority:high")
muteFirstRecoveryNotificationbooleanNoMute the first recovery notification
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
idnumberDowntime ID
scopearrayDowntime scope
messagestringDowntime message
startnumberStart time (Unix timestamp)
endnumberEnd time (Unix timestamp)

List Downtimes

Operation
List Downtimes
API Key*
••••••••
Datadog Site
Select...
Current Only
Disabled
Application Key*
••••••••
List Downtimes (datadog_list_downtimes)

List all scheduled downtimes in Datadog.

Input
ParameterTypeRequiredDescription
currentOnlybooleanNoOnly return currently active downtimes
monitorIdstringNoFilter by monitor ID
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output
ParameterTypeDescription
idnumberDowntime ID
scopearrayDowntime scope
messagestringDowntime message
startnumberStart time (Unix timestamp)
endnumberEnd time (Unix timestamp)

Cancel Downtime

Operation
Cancel Downtime
API Key*
••••••••
Datadog Site
Select...
Downtime ID*
abc123
Application Key*
••••••••
Cancel Downtime (datadog_cancel_downtime)

Cancel a scheduled downtime.

Input
ParameterTypeRequiredDescription
downtimeIdstringYesThe ID of the downtime to cancel
apiKeystringYesDatadog API key
applicationKeystringYesDatadog Application key
sitestringNoDatadog site/region (default: datadoghq.com)
Output

Refer to the block outputs for this operation.


Usage Instructions

Integrate Datadog monitoring into workflows. Submit metrics, manage monitors, query logs, create events, handle downtimes, and more.

Notes

  • Category: tools
  • Type: datadog