prometheus-configuration – skill DevOps & Hạ tầng cho agent AI
Thiết lập Prometheus để thu thập, lưu trữ và giám sát toàn diện các chỉ số của hạ tầng và ứng dụng. Dùng khi triển khai thu thập metric, thiết lập hạ tầng giám sát hoặc cấu hình hệ thống cảnh báo.
Cài skill prometheus-configuration bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /prometheus-configuration – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $prometheus-configuration – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /prometheus-configuration – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/prometheus-configuration-04409.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /prometheus-configuration – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Prometheus Configuration
Complete guide to Prometheus setup, metric collection, scrape configuration, and recording rules.
Purpose
Configure Prometheus for comprehensive metric collection, alerting, and monitoring of infrastructure and applications.
When to Use
- Set up Prometheus monitoring
- Configure metric scraping
- Create recording rules
- Design alert rules
- Implement service discovery
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Best Practices
1. Use consistent naming for metrics (prefix_name_unit)
2. Set appropriate scrape intervals (15-60s typical)
3. Use recording rules for expensive queries
4. Implement high availability (multiple Prometheus instances)
5. Configure retention based on storage capacity
6. Use relabeling for metric cleanup
7. Monitor Prometheus itself
8. Implement federation for large deployments
9. Use Thanos/Cortex for long-term storage
10. Document custom metrics
Troubleshooting
Check scrape targets:
curl http://localhost:9090/api/v1/targetsCheck configuration:
curl http://localhost:9090/api/v1/status/configTest query:
curl 'http://localhost:9090/api/v1/query?query=up'Related Skills
grafana-dashboards- For visualizationslo-implementation- For SLO monitoringdistributed-tracing- For request tracing
Skill liên quan
- gcp-cloud-architect – Thiết kế kiến trúc GCP cho startup và doanh nghiệp lớn. Dùng khi cần thiết kế hạ tầng…
- bumblebee – Chạy quét kiểm kê và mức độ phơi nhiễm chuỗi cung ứng Bumblebee trên macOS/Linux để phát…
- cdk-patterns – Các mẫu và construct AWS CDK phổ biến để xây dựng hạ tầng đám mây bằng TypeScript…
- offensive-osint – Bộ công cụ vận hành cho trinh sát red-team bên ngoài và bug bounty có ủy quyền. Các…
- circleci – Cấu hình workflow và orb của CircleCI cho tích hợp liên tục và triển khai liên tục.
- claude-monitor – Giám sát hiệu năng Claude Code và hệ thống cục bộ. Chẩn đoán tình trạng chậm, đo…
- cloud-architect – Kiến trúc sư đám mây chuyên thiết kế hạ tầng đa đám mây AWS/Azure/GCP, IaC nâng cao…
- cloud-devops – Quy trình hạ tầng đám mây và DevOps, bao gồm AWS, Azure, GCP, Kubernetes, Terraform…