selfmonitor
OfficialImprove self-monitoring code quality
Authoralibaba
Version1.0.0
Installs0
System Documentation
What problem does it solve?
LoongCollector's codebase often misuses self-monitoring constructs, leading to inconsistent metrics, alerting patterns, and brittle implementations. This Skill provides a standardized guide to enforce correct self-monitoring usage, focusing on metrics, alarms, coding style, and implementation logic across the project.
Core Features & Use Cases
- Metric naming and unit conventions: Ensure metric prefixes, names, and units follow a single, consistent schema to enable reliable monitoring and aggregation.
- Alarm usage and messaging guidelines: Standardize alarm types, severities, and descriptive messages to reduce noise and improve operability.
- Code quality and guardrails: Promote safe patterns for metric creation, error handling, and dependency management across C++ and Go components.
- Review and deployment guidance: Provide a concrete checklist for developers, reviewers, and CI pipelines to verify adherence before merge.
Quick Start
Run the selfmonitor checks across the repository to enforce the self-monitoring guidelines.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: selfmonitor Download link: https://github.com/alibaba/loongcollector/archive/main.zip#selfmonitor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.