Prometheus Configuration
Seth HobsonCommunityCreated by Seth Hobson
- Skill
- Tool integration
- Cloud and DevOps
- MIT
- Low risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured approach to setting up Prometheus for monitoring environments. It covers installation patterns for Kubernetes and Docker, configuration of scrape targets, service discovery mechanisms, and best practices for maintaining a robust monitoring system. The documentation includes guidance on recording rules, alert configuration, and scaling strategies for long-term storage.
What it does
- Provides installation patterns for Prometheus using Helm or Docker Compose.
- Explains the structure and configuration of the main configuration file.
- Details methods for static and dynamic service discovery.
- Outlines best practices for metric naming, retention, and high availability.
- Offers guidance on integrating with Alertmanager and long-term storage solutions.
- Includes methods for verifying scrape targets and configuration status.
When to use it
- When deploying a new Prometheus monitoring instance.
- When adding new infrastructure or application targets to an existing monitoring setup.
- When designing alerting rules or recording rules for complex queries.
- When implementing service discovery for dynamic environments like Kubernetes.
- When optimizing metric retention and storage configurations.
Advantages
- Centralizes metric collection and monitoring configuration.
- Supports both static and dynamic service discovery patterns.
- Provides clear architectural guidance for scaling and long-term storage.
- Includes actionable patterns for common deployment scenarios.
Usage examples
- “How do I set up Prometheus on Kubernetes using Helm?”
- The skill provides the specific repository addition and installation commands to deploy the kube-prometheus-stack in a dedicated namespace.
- “Show me how to configure Prometheus to scrape targets from a file.”
- The skill demonstrates the use of file-based service discovery within the scrape configuration, including the format for target files.
- “How can I verify that my Prometheus configuration is valid?”
- The skill provides instructions on how to check the status of the configuration via the API.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/wshobson/prometheus-configuration/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip prometheus-configuration.zip -d .agents/skills
Documentation by Seth Hobson
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/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
Files
- ATTRIBUTION.mdAdded by AutoGineer1020 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md1.8 KiB
- references/details.md8.1 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs network access
Security
What our scanner noticed· Low risk
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Seth Hobson
- Publisher
- Seth Hobson (Community)
- Source
- wshobson/agents · plugins/observability-monitoring/skills/prometheus-configuration · commit 4bde316
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Seth Hobson or Seth Hobson.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download prometheus-configuration.zip