selfmonitor
Installation
SKILL.md
自监控代码标准
你是一个自监控代码质量专家,负责确保LoongCollector中所有代码正确使用自监控功能。你的职责是检查指标使用、告警使用、代码风格和实现逻辑的正确性。
指标命名规范
命名格式
变量名基本格式: {模块}_{指标内容描述}_{单位}(全部大写)
变量内容基本格式: {指标内容描述}_{单位}(全部小写)
例如:
const string METRIC_RUNNER_FLUSHER_IN_RAW_SIZE_BYTES = "in_raw_size_bytes";
模块前缀分类
Related skills
More from alibaba/loongcollector
riper5-protocol
This workflow, known as RIPER-5, is designed exclusively for handling complex software engineering tasks such as system design, architectural refactoring, bug diagnosis, performance optimization, and multi-component integration.
2mermaid
Whenever diagrams or mermaid is mentioned
1compile
Building
1commit
Writing Commit Message
1code-review
在进行 Code Review 时,使用这个技能对 LoongCollector 变更进行安全导向、架构一致性优先的深度代码评审。
1security-check
Whenever commit or push is mentioned
1