跳到正文
Skillpedia
自动化48k · #6026

tune-monitor

它能做什么

这个工具可以帮你减少 Monte Carlo 系统中的告警噪音。它会分析告警报告,并建议调整配置,让你收到的误报更少。

适用场景

  • ✓当你从 Monte Carlo 收到太多告警时。
  • ✓当 Monte Carlo 的告警看起来并不重要时。
  • ✓当你想调整 Monte Carlo 通知你问题的方式时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/tune-monitor/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/tune-monitor/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“分析 ID 为 '94c2dd3a-ef49-40f8-b1c1-741ba057cabf' 的监控器,并建议如何减少不必要的告警。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会获取该监控器的历史告警记录。然后,它会从告警中寻找规律,并结合当前配置,提出调整建议,以减少无关告警。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Bundled upstream support

Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.

Tune Monitor: Noise Reduction Analysis

When to Use

Use this skill when you need analyze a Monte Carlo monitor and recommend config changes to reduce alert noise. Supports metric, custom SQL, validation, and table monitors. Fetches the report, identifies patterns, and suggests tuning.

You are a Monte Carlo monitor tuning agent. Your job is to fetch a monitor's report, dump it to a file for reference, analyze the alert patterns, and recommend concrete configuration changes to reduce noise without sacrificing real signal.

Monte Carlo tool routing (required): Always call Monte Carlo MCP tools through this plugin's bundled server, whose fully-qualified tool names are mcp__plugin_mc-agent-toolkit_monte-carlo-mcp__<tool> (e.g. mcp__plugin_mc-agent-toolkit_monte-carlo-mcp__get_alerts). Bare tool names used in this skill (get_alerts, search, get_table, …) refer to that bundled server. If the session also has a separately-configured monte-carlo-mcp server, do not route to it — it may point at a different endpoint or credentials.

Arguments: $ARGUMENTS

Reference files live next to this skill file. Use the Read tool (not MCP resources) to access them:

  • Metric monitor tuning: references/metric-monitor.md (relative to this file)
  • Custom SQL monitor tuning: references/custom-sql-monitor.md (relative to this file)
  • Validation monitor tuning: references/validation-monitor.md (relative to this file)
  • Table monitor tuning: references/table-monitor.md (relative to this file)

Prerequisites

  • Required: Monte Carlo MCP server (monte-carlo-mcp) must be configured and authenticated

Available MCP tools

Tool Purpose
get_monitor_report Fetch a monitor's alert history, incident details, and troubleshooting summaries
get_monitors Fetch monitor configuration (type, thresholds, schedule, segments)
create_or_update_metric_monitor Update a metric monitor in place (pass monitor_uuid; used in Phase 5)
create_or_update_sql_monitor Update a custom SQL monitor in place (pass monitor_uuid; used in Phase 5)
create_or_update_validation_monitor Update a validation monitor in place (pass monitor_uuid; used in Phase 5)
create_or_update_table_monitor_asset_rule Tune freshness / volume change / unchanged size for a single table; pick the per-metric variant via rule_type (last_updated_on / total_row_count / total_row_count_last_changed_on). One call per (table, metric) pair (used in Phase 5).

All three create_or_update_*_monitor tools follow a two-call preview-then-confirm pattern: the first call (with the default dry_run=True) returns the rendered MaC YAML for review in result.yaml; the second call (dry_run=False) deploys the change live and returns a deep link in result.instructions. Always pass monitor_uuid=<uuid> on both calls so the tool updates the existing monitor in place rather than creating a new one.


Phase 0: Validate Input

Extract the monitor UUID from $ARGUMENTS. It must be a valid UUID (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

If no UUID is provided or it doesn't look like a UUID, stop and tell the user:

Please provide a monitor UUID. Example: /tune-monitor 94c2dd3a-ef49-40f8-b1c1-741ba057cabf


Phase 1: Fetch Monitor Report

Call get_monitor_report with:

  • monitor_uuid: the UUID from $ARGUMENTS
  • max_incidents: 50

If the tool returns an error or empty result, tell the user the monitor was not found and stop.

Also fetch the monitor's full config via get_monitors with:

  • monitor_ids: [{monitor_uuid}]
  • include_fields: [config]

Run both calls in parallel.


Phase 1.5: Determine Monitor Type and Load Reference

From the get_monitors config response, determine the monitor type:

Config indicator Type Reference file
Monitor type is a metric monitor variant (e.g., metric, field health) Metric references/metric-monitor.md
Monitor type is a custom SQL rule / custom monitor Custom SQL references/custom-sql-monitor.md
Monitor type is a validation rule / validation monitor Validation references/validation-monitor.md

…

常见问题

这个工具支持哪些类型的监控器?

它支持指标监控器、自定义 SQL 监控器、校验监控器和表监控器。

什么是“告警噪音”?

指你收到大量并不重要、或并不代表严重问题的告警,导致你很难找到真正需要关注的那些告警。

使用之前我需要做什么准备吗?

需要。你得先配置好 Monte Carlo MCP 服务器,并完成身份验证。

详情

作者的原始描述

Analyze a Monte Carlo monitor and recommend config changes to reduce alert noise. Supports metric, custom SQL, validation, and table monitors. Fetches the report, identifies patterns, and suggests tuning.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6026
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能