Sim

Datadog

Monitor infrastructure, applications, and logs with 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.

Sim’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 Sim automations.

Usage Instructions

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

Tools

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
errorsarrayAny errors that occurred during submission

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
statusstringQuery status

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
eventobjectThe created event details

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
monitorobjectThe created monitor details

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
monitorobjectThe monitor details

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
monitorsarrayList of monitors

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

ParameterTypeDescription
successbooleanWhether the monitor was successfully muted

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
logsarrayList of log entries

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

ParameterTypeDescription
successbooleanWhether the logs were sent successfully

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
downtimeobjectThe created downtime details

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
downtimesarrayList of downtimes

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

ParameterTypeDescription
successbooleanWhether the downtime was successfully canceled

Notes

  • Category: tools
  • Type: datadog
On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started