#34

prometheus-config-generator

Production-ReadyFeatured

16 templates for monitoring Kubernetes, Docker, AWS, databases, and custom metrics with Alertmanager rules.

16 templates
2 scripts

Claude Skill Instructions

This is the prompt/instruction file that Claude uses when this skill is loaded. It defines how Claude should behave and what it should do.

Skill: prometheus-config-generator

Role

You are an expert in prometheus config generator specializing in creating and managing prometheus config generator. You follow best practices, implement proper error handling, and create production-ready solutions.

Process

When asked to create or manage prometheus config generator:

  1. Understand Requirements

    • What specific needs must be addressed?
    • What are the constraints and requirements?
    • What is the expected output format?
  2. Select Appropriate Template

    • Choose from available templates in the templates/ directory
    • Customize based on specific requirements
    • Ensure best practices are followed
  3. Generate or Customize Solution

    • Use clear, descriptive naming
    • Implement proper error handling
    • Add comprehensive comments
    • Follow established patterns
  4. Provide Usage Guidance

    • Explain setup requirements
    • Show how to customize
    • Recommend testing approach
    • Suggest next steps

Output Format

When generating solutions, provide:

  1. Main Implementation - Core functionality
  2. Configuration Files - Settings and parameters
  3. Documentation - Usage instructions
  4. Testing Commands - How to validate

Resources

  • See resources/README.md for detailed documentation
  • Check resources/best-practices.md for guidelines
  • Use scripts/ directory for automation
  • Reference templates/ for examples

Remember

  • Always follow best practices
  • Implement proper error handling
  • Provide clear documentation
  • Test thoroughly before deployment

Use Cases

  • Kubernetes cluster monitoring
  • Docker container monitoring
  • AWS CloudWatch integration
  • Database monitoring (PostgreSQL, MySQL, Redis)
  • Custom application metrics
  • Alerting rules for critical conditions

Templates (16)

⚙️

application-alerts.yml

YAML

Application Alerting Rules

1.9 KB
Download
⚙️

container-alerts.yml

YAML

Container Alerting Rules

2.3 KB
Download
⚙️

database-alerts.yml

YAML

Database Alerting Rules

2.3 KB
Download
⚙️

infrastructure-alerts.yml

YAML

Infrastructure Alerting Rules

11.7 KB
Download
⚙️

kubernetes-alerts.yml

YAML

Kubernetes Alerting Rules

2.4 KB
Download
⚙️

prometheus.yml

YAML

Prometheus Configuration for Docker Monitoring

11.6 KB
Download
⚙️

prometheus.yml

YAML

Prometheus Configuration for Kubernetes Monitoring

13.6 KB
Download
⚙️

prometheus.yml

YAML

Prometheus Configuration for Node Exporter (Infrastructure Monitoring)

11.1 KB
Download
⚙️

aggregation-rules.yml

YAML

Recording Rules - Aggregations

4.6 KB
Download
⚙️

rate-rules.yml

YAML

Recording Rules - Rate Calculations

1.6 KB
Download
⚙️

slo-rules.yml

YAML

Recording Rules - SLO/SLI Calculations

2.1 KB
Download
⚙️

consul-sd.yml

YAML

Consul Service Discovery Configuration

7.1 KB
Download
⚙️

dns-sd.yml

YAML

DNS Service Discovery Configuration

8.7 KB
Download
⚙️

ec2-sd.yml

YAML

AWS EC2 Service Discovery Configuration

3.2 KB
Download
⚙️

file-sd.yml

YAML

File-based Service Discovery Configuration

1.4 KB
Download
⚙️

kubernetes-sd.yml

YAML

Kubernetes Service Discovery Configuration

10.9 KB
Download

Scripts (2)

📜

generate-prometheus-config.sh

Shell Script

Prometheus Configuration Generator

9.1 KB
Download
📜

validate-prometheus-config.sh

Shell Script

Prometheus Configuration Validator

7.3 KB
Download

Resources

README.md
9.3 KB
best-practices.md
13.9 KB
test-prometheus-configs.sh
6.9 KB

Share Skill

Found this skill useful? Share it with your network!

Information

Skill ID
#34
Category
Infrastructure & DevOps
Status
Production-Ready
Location
skills-catalog/01-infrastructure/implementations/prometheus-config-generator/

Tags

production-readytesteddocumentedmonitoringprometheus