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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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
## Prometheus Architecture
```
┌──────────────┐
│ Applications │ ← Instrumented with client libraries
└──────┬───────┘
│ /metrics endpoint
↓
┌──────────────┐
│ Prometheus │ ← Scrapes metrics periodically
│ Server │
└──────┬───────┘
│
├─→ AlertManager (alerts)
├─→ Grafana (visualization)
└─→ Long-term storage (Thanos/Cortex)
```
## Installation
### Kubernetes with Helm
```bash
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install prometheus prometheus-community/kube-prometheus-stack \
--namespace monitoring \
--create-namespace \
--set prometheus.prometheusSpec.retention=30d \
--set prometheus.prometheusSpec.storageVolumeSize=50Gi
```
### Docker Compose
…
The line at the top of this page pins the label git:20251120.288a379, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_e7u3omrsgjwxzerl
GET https://markdownregistry.com/api/v1/resolve?ref=hermeticormus/libreuiux-claude-code/prometheus-configuration
GET https://markdownregistry.com/api/v1/blob/1141bfea84cceecd948f4c3af4b83f2e6fe3aa8cc59de6a5e00deabc91b7eca8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
hermeticormus/libreuiux-claude-code · .grok/skills/verify-libreuiux/SKILL.md · Install the LibreUIUX-Claude-Code plugin pack the way a user does, into a clean Claude Code config and a clean Grok…
hermeticormus/libreuiux-claude-code · plugins/agent-orchestration/skills/ui-agent-patterns/SKILL.md · Patterns for delegating UI work to agents: one synthesis agent versus specialized agents, multi-agent pipelines for…
hermeticormus/libreuiux-claude-code · plugins/archetypal-alchemy/skills/archetypal-combinations/SKILL.md · Rules and worked examples for combining an archetype (structure and behavior) with a Major Arcana card (color and mood)…
hermeticormus/libreuiux-claude-code · plugins/archetypal-alchemy/skills/major-arcana/SKILL.md · The 22 Major Arcana cards mapped to color palettes, lighting, gradients, and moods for UI. Use when a design needs a…
hermeticormus/libreuiux-claude-code · plugins/backend-development/skills/api-design-principles/SKILL.md · Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight…
hermeticormus/libreuiux-claude-code · plugins/backend-development/skills/temporal-python-testing/SKILL.md · Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing…
hermeticormus/libreuiux-claude-code · plugins/blockchain-web3/skills/defi-protocol-templates/SKILL.md · Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems. Use when…
wshobson/agents · plugins/observability-monitoring/skills/prometheus-configuration/SKILL.md · Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use…
dicklesworthstone/pi_agent_rust · tests/ext_conformance/artifacts/agents-wshobson/observability-monitoring/skills/prometheus-configuration/SKILL.md · Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use…
sandbaseai/sandbase-skills · marketing/prometheus-configuration/SKILL.md · Plan, implement, or review prometheus configuration work in an existing codebase with compatibility, security, and…
hermeticormus/claude-code-game-development · plugins/observability-monitoring/skills/prometheus-configuration/SKILL.md · Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use…
rudycity/superagent · .agents/skills/prometheus-configuration/SKILL.md · Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use…