मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट41k · #6742

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/wshobson/agents/blob/main/plugins/observability-monitoring/skills/prometheus-configuration/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

  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/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 visualization
  • slo-implementation - For SLO monitoring
  • distributed-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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills