voidvec/drogon-claude-plugin/drogon-gen-monitoring
Claude Code and agent skill by voidvec/drogon-claude-plugin
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
需要接入 Prometheus 指标/Counter/Gauge/Histogram/自定义业务监控时,生成 PromExporter 配置与指标采集代码。
Install
npx vskill@latest install voidvec/drogon-claude-plugin/drogon-gen-monitoringSKILL.md
drogon-gen-monitoring
生成 drogon 的 Prometheus 监控接入代码(PromExporter 插件配置 + Counter/Gauge/Histogram 采集 + 热路径 atomic 补充)。
使用场景
当需要为服务暴露 Prometheus 指标(请求计数、延迟分布、业务状态值),或为高频热路径增加轻量业务计数时,使用此技能生成已对照 drogon v1.9.13 源码核对的配置与代码。
输入参数
metrics:指标定义,格式名称:类型,多项逗号分隔(类型 counter/gauge/histogram)labels:标签名列表(如method,path,可选;延迟类建议 method,path)collect_point:采集点,middleware(全局请求统计)/handler(业务代码内)/advice(PostHandling 钩子),默认handlerpath:指标暴露路径(默认/metrics)hot_path:高频热路径标记(true时改用 atomic 计数器补充模式,可选)
输出
- config.json 的 PromExporter 插件段(path + collectors 数组:name/help/type/labels)
- 采集代码:
getCollector<T>(名)->metric({标签值})->increment/set/observe完整调用链(含异常捕获与判空) - 延迟采集中间件模板(官方 prometheus_example 的 PromStat 模式,含路由挂载)
- 高频路径 std::atomic 计数器 + Prometheus 文本导出的补充方案(pay-plugin 模式)
示例
参考文件
详细实现指南见 references/code-guide.md(含指标选型、PromExporter 配置、采集模板、禁止模式清单、最小可运行示例)。生成代码前先读取该文件。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/drogon-gen-monitoring/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/voidvec/drogon-claude-plugin/drogon-gen-monitoring)