prometheus-configuration
यह क्या करती है
यह टूल Prometheus सेट अप करने में मदद करता है। Prometheus एक ऐसा सिस्टम है जो आपके infrastructure और applications का performance data इकट्ठा करके उसकी monitoring करता है। इससे आप देख पाते हैं कि क्या चल रहा है, और कुछ गड़बड़ होने पर आपको alert भी मिलता है।
कब इस्तेमाल करें
- ✓जब आपको अपने सिस्टम की monitoring शुरू करनी हो।
- ✓जब यह तय करना हो कि performance data कैसे इकट्ठा किया जाए।
- ✓जब कोई समस्या होने पर चेतावनी देने वाले rules बनाने हों।
Skill का लिंक
https://github.com/wshobson/agents/blob/main/plugins/observability-monitoring/skills/prometheus-configuration/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Prometheus सेट अप करो ताकि वह मेरे web servers से metrics इकट्ठा करे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप बताते हैं कि कौन सा data इकट्ठा करना है और उसे किस तरीके से लेना है। टूल इन settings को व्यवस्थित करता है, ताकि Prometheus अपने आप आपके सिस्टम की monitoring शुरू कर सके।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
- Use consistent naming for metrics (prefix_name_unit)
- Set appropriate scrape intervals (15-60s typical)
- Use recording rules for expensive queries
- Implement high availability (multiple Prometheus instances)
- Configure retention based on storage capacity
- Use relabeling for metric cleanup
- Monitor Prometheus itself
- Implement federation for large deployments
- Use Thanos/Cortex for long-term storage
- Document custom metrics
Troubleshooting
Check scrape targets:
curl http://localhost:9090/api/v1/targets
Check configuration:
curl http://localhost:9090/api/v1/status/config
Test query:
curl 'http://localhost:9090/api/v1/query?query=up'
Related Skills
grafana-dashboards- For visualizationslo-implementation- For SLO monitoringdistributed-tracing- For request tracing
अक्सर पूछे जाने वाले सवाल
'Metrics' क्या होते हैं?
Metrics आपके सिस्टम की vital signs जैसे होते हैं। ये CPU usage, memory, या किसी server पर आने वाली requests की संख्या जैसी चीज़ें मापते हैं।
'Scraping' क्या है?
Scraping वह प्रक्रिया है जिसमें Prometheus आपके सिस्टम तक जाकर वे metrics इकट्ठा करता है जो वे report कर रहे होते हैं।
'Recording rules' और 'alerting rules' क्या होते हैं?
Recording rules बार-बार इस्तेमाल होने वाले metrics को पहले से calculate करके रख लेते हैं। Alerting rules वे शर्तें तय करते हैं, जिनके पूरी होने पर चेतावनी जारी होती है।
जानकारी
लेखक का मूल विवरण
Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.
repo: wshobson/agents
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6742
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
screen-reader-testing
41kआपके एजेंट को screen readers का इस्तेमाल करके वेबसाइटों की जांच करने देता है, ताकि यह पक्का हो सके कि वे accessible हैं।
wcag-audit-patterns
41kआपके एजेंट को वेबसाइटों का accessibility audit करने और WCAG guidelines के हिसाब से समस्याएं ठीक करने में मदद करता है।
multi-reviewer-patterns
41kआपके एजेंट को कई code reviews को एक साथ चलाने देता है। यह एक जैसे findings हटाता है और सारी रिपोर्ट को एक जगह जोड़ता है।
parallel-debugging
41kआपके एजेंट को parallel जांच के साथ जटिल समस्याओं को debug करने और root cause analysis में मदद करता है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।