datadog-automation by composiohq/awesome-claude-skills
npx skills add https://github.com/composiohq/awesome-claude-skills --skill datadog-automation通过 Composio 的 Datadog 工具包和 Rube MCP,自动化 Datadog 监控和可观测性操作。
工具包文档 : composio.dev/toolkits/datadog
RUBE_SEARCH_TOOLS 可用)RUBE_MANAGE_CONNECTIONS 建立活跃的 Datadog 连接,并使用 datadog 工具包RUBE_SEARCH_TOOLS 以获取当前工具模式获取 Rube MCP : 在您的客户端配置中将 https://rube.app/mcp 添加为 MCP 服务器。无需 API 密钥——只需添加端点即可工作。
RUBE_SEARCH_TOOLS 有响应来验证 Rube MCP 是否可用广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
datadog 调用 RUBE_MANAGE_CONNECTIONS使用时机 : 用户想要查询指标数据或列出可用指标
工具调用顺序 :
DATADOG_LIST_METRICS - 列出可用的指标名称 [可选]DATADOG_QUERY_METRICS - 查询指标时间序列数据 [必需]关键参数 :
query: Datadog 指标查询字符串(例如,avg:system.cpu.user{host:web01})from: 开始时间戳(Unix 纪元秒数)to: 结束时间戳(Unix 纪元秒数)q: 用于列出指标的搜索字符串注意事项 :
aggregation:metric_name{tag_filters}from 和 to 是 Unix 纪元时间戳(以秒为单位),不是毫秒avg、sum、min、max、count{host:web01,env:prod}使用时机 : 用户想要搜索日志条目或列出日志索引
工具调用顺序 :
DATADOG_LIST_LOG_INDEXES - 列出可用的日志索引 [可选]DATADOG_SEARCH_LOGS - 使用查询和过滤器搜索日志 [必需]关键参数 :
query: 使用 Datadog 日志查询语法的日志搜索查询from: 开始时间(ISO 8601 或 Unix 时间戳)to: 结束时间(ISO 8601 或 Unix 时间戳)sort: 排序顺序('asc' 或 'desc')limit: 要返回的日志条目数量注意事项 :
service:web status:error使用时机 : 用户想要创建、更新、静音或检查监控器
工具调用顺序 :
DATADOG_LIST_MONITORS - 使用过滤器列出所有监控器 [必需]DATADOG_GET_MONITOR - 获取特定监控器详细信息 [可选]DATADOG_CREATE_MONITOR - 创建新监控器 [可选]DATADOG_UPDATE_MONITOR - 更新监控器配置 [可选]DATADOG_MUTE_MONITOR - 临时静音监控器 [可选]DATADOG_UNMUTE_MONITOR - 重新启用已静音的监控器 [可选]关键参数 :
monitor_id: 数字监控器 IDname: 监控器显示名称type: 监控器类型('metric alert'、'service check'、'log alert'、'query alert' 等)query: 定义警报条件的监控器查询message: 包含 @提及的通知消息tags: 标签字符串数组thresholds: 警报阈值(critical、warning、ok)注意事项 :
type 必须与查询类型匹配;不匹配会导致创建失败message 支持 @提及以进行通知(例如,@slack-channel、@pagerduty)critical 阈值使用时机 : 用户想要列出、查看、更新或删除仪表板
工具调用顺序 :
DATADOG_LIST_DASHBOARDS - 列出所有仪表板 [必需]DATADOG_GET_DASHBOARD - 获取完整的仪表板定义 [可选]DATADOG_UPDATE_DASHBOARD - 更新仪表板布局或小部件 [可选]DATADOG_DELETE_DASHBOARD - 删除仪表板(不可逆) [可选]关键参数 :
dashboard_id: 仪表板标识符字符串title: 仪表板标题layout_type: 'ordered'(网格)或 'free'(自由定位)widgets: 小部件定义对象数组description: 仪表板描述注意事项 :
layout_type 在创建后无法更改;必须重新创建仪表板使用时机 : 用户想要发布事件或安排维护停机时间
工具调用顺序 :
DATADOG_LIST_EVENTS - 列出现有事件 [可选]DATADOG_CREATE_EVENT - 发布新事件 [必需]DATADOG_CREATE_DOWNTIME - 安排维护停机时间 [可选]事件的关键参数 :
title: 事件标题text: 事件正文文本(支持 markdown)alert_type: 事件严重性('error'、'warning'、'info'、'success')tags: 标签字符串数组停机时间的关键参数 :
scope: 停机时间的标签范围(例如,host:web01)start: 开始时间(Unix 纪元)end: 结束时间(Unix 纪元;省略表示无限期)message: 停机时间描述monitor_id: 要停机的特定监控器(可选,基于范围时省略)注意事项 :
text 支持 Datadog 的 markdown 格式,包括 @提及host:web01、env:stagingend 会创建无限期停机时间;对于维护,请始终设置结束时间monitor_id 会缩小到单个监控器;范围适用于所有匹配的监控器使用时机 : 用户想要列出基础设施主机或检查分布式追踪
工具调用顺序 :
DATADOG_LIST_HOSTS - 列出所有报告的主机 [必需]DATADOG_GET_TRACE_BY_ID - 获取特定的分布式追踪 [可选]关键参数 :
filter: 主机搜索过滤器字符串sort_field: 按字段对主机排序(例如,'name'、'apps'、'cpu')sort_dir: 排序方向('asc' 或 'desc')trace_id: 用于追踪查找的分布式追踪 ID注意事项 :
指标警报 :
avg(last_5m):avg:system.cpu.user{env:prod} > 90
日志警报 :
logs("service:web status:error").index("main").rollup("count").last("5m") > 10
key:value 格式:host:web01、env:prod、service:api{host:web01,env:prod}(AND 逻辑)host:web*page 和 page_size 或基于偏移量的分页时间戳 :
查询语法 :
aggregation:metric{tags}field:value 对速率限制 :
| 任务 | 工具标识 | 关键参数 |
|---|---|---|
| 查询指标 | DATADOG_QUERY_METRICS | query, from, to |
| 列出指标 | DATADOG_LIST_METRICS | q |
| 搜索日志 | DATADOG_SEARCH_LOGS | query, from, to, limit |
| 列出日志索引 | DATADOG_LIST_LOG_INDEXES | (none) |
| 列出监控器 | DATADOG_LIST_MONITORS | tags |
| 获取监控器 | DATADOG_GET_MONITOR | monitor_id |
| 创建监控器 | DATADOG_CREATE_MONITOR | name, type, query, message |
| 更新监控器 | DATADOG_UPDATE_MONITOR | monitor_id |
| 静音监控器 | DATADOG_MUTE_MONITOR | monitor_id |
| 取消静音监控器 | DATADOG_UNMUTE_MONITOR | monitor_id |
| 列出仪表板 | DATADOG_LIST_DASHBOARDS | (none) |
| 获取仪表板 | DATADOG_GET_DASHBOARD | dashboard_id |
| 更新仪表板 | DATADOG_UPDATE_DASHBOARD | dashboard_id, title, widgets |
| 删除仪表板 | DATADOG_DELETE_DASHBOARD | dashboard_id |
| 列出事件 | DATADOG_LIST_EVENTS | start, end |
| 创建事件 | DATADOG_CREATE_EVENT | title, text, alert_type |
| 创建停机时间 | DATADOG_CREATE_DOWNTIME | scope, start, end |
| 列出主机 | DATADOG_LIST_HOSTS | filter, sort_field |
| 获取追踪 | DATADOG_GET_TRACE_BY_ID | trace_id |
由 Composio 提供支持
每周安装数
69
代码仓库
GitHub 星标数
42.3K
首次出现
2026年2月6日
安全审计
安装于
opencode53
claude-code52
gemini-cli47
codex44
replit42
cursor37
Automate Datadog monitoring and observability operations through Composio's Datadog toolkit via Rube MCP.
Toolkit docs : composio.dev/toolkits/datadog
RUBE_MANAGE_CONNECTIONS with toolkit datadogRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP : Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit datadogWhen to use : User wants to query metric data or list available metrics
Tool sequence :
DATADOG_LIST_METRICS - List available metric names [Optional]DATADOG_QUERY_METRICS - Query metric time series data [Required]Key parameters :
query: Datadog metric query string (e.g., avg:system.cpu.user{host:web01})from: Start timestamp (Unix epoch seconds)to: End timestamp (Unix epoch seconds)q: Search string for listing metricsPitfalls :
aggregation:metric_name{tag_filters}from and to are Unix epoch timestamps in seconds, not millisecondsavg, sum, min, max, count{host:web01,env:prod}When to use : User wants to search log entries or list log indexes
Tool sequence :
DATADOG_LIST_LOG_INDEXES - List available log indexes [Optional]DATADOG_SEARCH_LOGS - Search logs with query and filters [Required]Key parameters :
query: Log search query using Datadog log query syntaxfrom: Start time (ISO 8601 or Unix timestamp)to: End time (ISO 8601 or Unix timestamp)sort: Sort order ('asc' or 'desc')limit: Number of log entries to returnPitfalls :
service:web status:errorWhen to use : User wants to create, update, mute, or inspect monitors
Tool sequence :
DATADOG_LIST_MONITORS - List all monitors with filters [Required]DATADOG_GET_MONITOR - Get specific monitor details [Optional]DATADOG_CREATE_MONITOR - Create a new monitor [Optional]DATADOG_UPDATE_MONITOR - Update monitor configuration [Optional]DATADOG_MUTE_MONITOR - Silence a monitor temporarily [Optional]DATADOG_UNMUTE_MONITOR - Re-enable a muted monitor [Optional]Key parameters :
monitor_id: Numeric monitor IDname: Monitor display nametype: Monitor type ('metric alert', 'service check', 'log alert', 'query alert', etc.)query: Monitor query defining the alert conditionmessage: Notification message with @mentionstags: Array of tag stringsthresholds: Alert threshold values (critical, warning, ok)Pitfalls :
type must match the query type; mismatches cause creation failuresmessage supports @mentions for notifications (e.g., @slack-channel, @pagerduty)critical at minimumWhen to use : User wants to list, view, update, or delete dashboards
Tool sequence :
DATADOG_LIST_DASHBOARDS - List all dashboards [Required]DATADOG_GET_DASHBOARD - Get full dashboard definition [Optional]DATADOG_UPDATE_DASHBOARD - Update dashboard layout or widgets [Optional]DATADOG_DELETE_DASHBOARD - Remove a dashboard (irreversible) [Optional]Key parameters :
dashboard_id: Dashboard identifier stringtitle: Dashboard titlelayout_type: 'ordered' (grid) or 'free' (freeform positioning)widgets: Array of widget definition objectsdescription: Dashboard descriptionPitfalls :
layout_type cannot be changed after creation; must recreate the dashboardWhen to use : User wants to post events or schedule maintenance downtimes
Tool sequence :
DATADOG_LIST_EVENTS - List existing events [Optional]DATADOG_CREATE_EVENT - Post a new event [Required]DATADOG_CREATE_DOWNTIME - Schedule a maintenance downtime [Optional]Key parameters for events :
title: Event titletext: Event body text (supports markdown)alert_type: Event severity ('error', 'warning', 'info', 'success')tags: Array of tag stringsKey parameters for downtimes :
scope: Tag scope for the downtime (e.g., host:web01)start: Start time (Unix epoch)end: End time (Unix epoch; omit for indefinite)message: Downtime descriptionmonitor_id: Specific monitor to downtime (optional, omit for scope-based)Pitfalls :
text supports Datadog's markdown format including @mentionshost:web01, env:stagingend creates an indefinite downtime; always set an end time for maintenancemonitor_id narrows to a single monitor; scope applies to all matching monitorsWhen to use : User wants to list infrastructure hosts or inspect distributed traces
Tool sequence :
DATADOG_LIST_HOSTS - List all reporting hosts [Required]DATADOG_GET_TRACE_BY_ID - Get a specific distributed trace [Optional]Key parameters :
filter: Host search filter stringsort_field: Sort hosts by field (e.g., 'name', 'apps', 'cpu')sort_dir: Sort direction ('asc' or 'desc')trace_id: Distributed trace ID for trace lookupPitfalls :
Metric alerts :
avg(last_5m):avg:system.cpu.user{env:prod} > 90
Log alerts :
logs("service:web status:error").index("main").rollup("count").last("5m") > 10
key:value format: host:web01, env:prod, service:api{host:web01,env:prod} (AND logic)host:web*page and page_size or offset-based pagination depending on endpointTimestamps :
Query Syntax :
aggregation:metric{tags}field:value pairsRate Limits :
| Task | Tool Slug | Key Params |
|---|---|---|
| Query metrics | DATADOG_QUERY_METRICS | query, from, to |
| List metrics | DATADOG_LIST_METRICS | q |
| Search logs | DATADOG_SEARCH_LOGS | query, from, to, limit |
| List log indexes | DATADOG_LIST_LOG_INDEXES | (none) |
| List monitors | DATADOG_LIST_MONITORS | tags |
| Get monitor | DATADOG_GET_MONITOR | monitor_id |
| Create monitor | DATADOG_CREATE_MONITOR | name, type, query, message |
| Update monitor | DATADOG_UPDATE_MONITOR | monitor_id |
| Mute monitor | DATADOG_MUTE_MONITOR | monitor_id |
| Unmute monitor |
Powered byComposio
Weekly Installs
69
Repository
GitHub Stars
42.3K
First Seen
Feb 6, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
opencode53
claude-code52
gemini-cli47
codex44
replit42
cursor37
| DATADOG_UNMUTE_MONITOR |
| monitor_id |
| List dashboards | DATADOG_LIST_DASHBOARDS | (none) |
| Get dashboard | DATADOG_GET_DASHBOARD | dashboard_id |
| Update dashboard | DATADOG_UPDATE_DASHBOARD | dashboard_id, title, widgets |
| Delete dashboard | DATADOG_DELETE_DASHBOARD | dashboard_id |
| List events | DATADOG_LIST_EVENTS | start, end |
| Create event | DATADOG_CREATE_EVENT | title, text, alert_type |
| Create downtime | DATADOG_CREATE_DOWNTIME | scope, start, end |
| List hosts | DATADOG_LIST_HOSTS | filter, sort_field |
| Get trace | DATADOG_GET_TRACE_BY_ID | trace_id |