返回技能目录
人工审校软件开发

技能研究档案

monitoring-expert

来源声明

Configures monitoring systems, implements structured logging pipelines, creates Prometheus/Grafana dashboards, defines alerting rules, and instruments distributed tracing. Implements Prometheus/Grafana stacks, conducts load testing, performs application profiling, and plans infrastructure capacity. Use when setting up application monitoring, adding observability to services, debugging production issues with logs/metrics/traces, running load tests with k6 or Artillery, profiling CPU/memory bottlenecks, or forecasting capacity needs.

保留作者的英文原始描述。它表达设计意图,不代表已验证的实际效果。

Configures monitoring systems, implements structured logging pipelines, creates Prometheus/Grafana dashboards, defines alerting rules, and instruments distributed tracing. Implements Prometheus/Grafana stacks, conducts load testing, performs application profiling, and plans infrastructure capacity. Use when setting up application monitoring, adding observability to services, debugging production issues with logs/metrics/traces, running load tests with k6 or Artillery, profiling CPU/memory bottlenecks, or forecasting capacity needs.

developmentreferences

研究摘要

人工审校

Skill Atlas editorial review · editorial-preview-1.0.0

用于为服务添加结构化日志、Prometheus 指标、OpenTelemetry 追踪、告警和 k6 压测的可观测性 Skill。

审阅范围

对所收集的 SKILL.md 及辅助文本/代码进行确定性静态分析。机器辅助候选和发现等待人工编辑复核;不评估动态行为或效果。

可观察能力

  • 添加带请求 ID 的结构化日志以便关联。
  • 用 Prometheus 计数器、直方图和 OpenTelemetry span 为服务埋点。
  • 按 RED 或 USE 方法构建仪表盘。
  • 定义告警规则和带阈值的 k6 压测。

限制与范围

  • 代码示例为 Node.js,其他运行时需自行适配。
  • 假定已存在 Prometheus、Grafana 或 OTLP 后端。
  • 告警和压测阈值仅为示例,并非调优后的数值。

适用读者

  • 为服务添加可观测性的后端开发者
  • SRE 与 DevOps 工程师
  • 准备压测的团队

技能包含哪些内容

文件清单来自记录提交中的采集源码。路径与大小属于结构观察,不代表质量评价。

个文件
9
Markdown 文件
9
个脚本
0
个引用
8
大小
42.5 KB
结构复杂度
中

文件清单

路径类型字节
skills/monitoring-expert/references/alerting-rules.md引用3.4 KB
skills/monitoring-expert/references/application-profiling.md引用6.2 KB
skills/monitoring-expert/references/capacity-planning.md引用8.1 KB
skills/monitoring-expert/references/dashboards.md引用3.7 KB
skills/monitoring-expert/references/opentelemetry.md引用3.3 KB
skills/monitoring-expert/references/performance-testing.md引用5.8 KB
skills/monitoring-expert/references/prometheus-metrics.md引用3 KB
skills/monitoring-expert/references/structured-logging.md引用2.8 KB

SKILL.md 前置元数据

{
  "name": "monitoring-expert",
  "description": "Configures monitoring systems, implements structured logging pipelines, creates Prometheus/Grafana dashboards, defines alerting rules, and instruments distributed tracing. Implements Prometheus/Grafana stacks, conducts load testing, performs application profiling, and plans infrastructure capacity. Use when setting up application monitoring, adding observability to services, debugging production issues with logs/metrics/traces, running load tests with k6 or Artillery, profiling CPU/memory bottlenecks, or forecasting capacity needs.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "devops",
    "triggers": "monitoring, observability, logging, metrics, tracing, alerting, Prometheus, Grafana, DataDog, APM, performance testing, load testing, profiling, capacity planning, bottleneck",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "devops-engineer, debugging-wizard, architecture-designer"
  }
}

对运行顺序的一种解读

此工作流根据源码材料重建表面顺序。除非明确记录受控评估,否则它属于暂定解读,而非真实运行轨迹。

  1. 01
  2. 02
  3. 03
    判断

    确认数据到达

    配置采集,并在继续前确认数据已到达。

  4. 04
    输出

    为关键路径告警

    定义阈值与异常告警,并确认不会出现大量误报。

潜在风险面

静态发现用于提示安装前需要检查的位置,不能证明一项技能安全、恶意或有效。

有需要复核的项目

收集的文本中有 84 项确定性词法发现需要复核。发现可能仅位于文档中,不证明已执行或可被利用;仅含二进制的文件未扫描。

网络访问已观察到
文件写入已观察到
凭据使用未观察到
提示

文本描述或实现了文件修改

64 次命中

此行包含可能的文件写入或重定向操作。应检查目标路径和覆盖行为;静态审查没有写入任何文件。 该规则在收集文本中命中 64 处;此处列出 3 个代表位置。命中文本可能只是文档,分析器没有执行它。

中

文本提及网络访问

20 次命中

此源文件行包含 URL 或网络客户端。应检查目标地址、发送的数据和信任边界;静态文本无法证明实际发生了网络活动。 该规则在收集文本中命中 20 处;此处列出 3 个代表位置。命中文本可能只是文档,分析器没有执行它。

编辑安全提示

仅对获授权的系统执行压测,并确认日志和 span 不包含密码、令牌和个人信息。

上下文可能消耗在哪里

发现、激活与资源层具有不同含义。只有使用指定官方方法并记录模型的运行时,才显示精确数值。

精确 token 计数不可用

在管线使用明确模型执行官方精确计数之前,包括文件清单在内的所有 token 值均为 null。

未使用要求的官方方法记录 token 测量。本档案不会用字符数、文件大小或估计值替代。

受控评估

没有受控评估

该技能仅具备以上标明的证据。不声称任何任务成功率、token 效率、延迟或质量优势。

尚未测试

在源码可见的情况下使用

安装命令
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # 将该 Skill 目录复制到以下任一位置: # ~/.claude/skills/monitoring-expert # .claude/skills/monitoring-expert
  1. 打开固定版本源码:https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/monitoring-expert/SKILL.md。
  2. 审阅许可证、前置条件和所有捆绑的参考文件。
  3. 将 Skill 目录复制到个人或项目级 Claude Code skills 目录。
  4. 重启或刷新 Claude Code,使该 Skill 可被发现。
验证安装

让 Claude Code 为 Express 路由埋点,确认其使用结构化日志、直方图和 /metrics 端点。

前置条件

  • 代码示例为 Node.js,其他运行时需自行适配。
  • 假定已存在 Prometheus、Grafana 或 OTLP 后端。
  • 告警和压测阈值仅为示例,并非调优后的数值。

示例提示词

代表性任务

Using the monitoring-expert skill, add Pino structured logging, Prometheus request metrics and an error-rate alert to our Express API, plus a k6 ramp test with p95 and error thresholds.

使用前检查

Read the monitoring-expert skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/monitoring-expert/SKILL.md and its reference files. Explain its workflow, any commands it tells the agent to run, and the main risks before I decide whether to install it.

附上限制条件的判断

优势

  • 在同一工作流中覆盖日志、指标、追踪和告警。
  • 明确警示不要记录敏感数据并避免告警疲劳。

注意事项

  • k6 等压测若指向真实系统可能造成压力。
  • 文件中未讨论高基数指标标签问题。
研究结论

为服务埋点和告警提供的覆盖面广、示例丰富的起点。

从结构上保持可追溯

档案是对公开工件的限时阅读,而非背书。请通过来源链接检查确切的上游材料。

Jeffallanclaude-skillsskills/monitoring-expert
来源类型
社区
提交
67c1961b180dc92cf08983344627109e983e8f51
采集时间
2026年11月20日
最近核查
2026年11月20日
上游许可证
MIT
仓库星标
12,464
内容依据

仅对提供的文件进行确定性词法解析、YAML frontmatter 校验、文件清单、来源描述的工作流程提取和启发式暂定分类。由机器生成;无 LLM、执行、动态测试或人工编辑批准。