prometheus-configuration

Configure Prometheus metric scraping, alerting, and storage for Kubernetes or Docker.

3|1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/duanbiao2000/obsidianDoc26 --skill prometheus-configuration-duanbiao2000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prometheus-configuration
Source: https://github.com/duanbiao2000/obsidianDoc26/tree/main/agents-main/plugins/observability-monitoring/skills/prometheus-configuration
Command: npx skills add https://github.com/duanbiao2000/obsidianDoc26 --skill prometheus-configuration-duanbiao2000

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Prometheus configuration provides a repeatable approach to instrument infrastructure and applications for reliable metrics collection, storage, and alerting, reducing manual setup time and misconfigurations.

Core Features & Use Cases

  • Scrape configurations for Prometheus, node_exporter, Kubernetes pods, and application metrics.
  • Recording and alert rules guidance, with integration considerations for Alertmanager and Grafana.
  • Scalable deployment patterns using Helm charts and best practices for long-term storage.

Quick Start

Deploy Prometheus in your environment using kube-prometheus-stack or a custom Helm/manifest approach and tailor the scrape targets to your services.

Frequently Asked Questions about prometheus-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Prometheus to scrape metrics from Kubernetes pods and node_exporter?

To configure Prometheus metric scraping, define scrape targets that collect metrics from Kubernetes pods and node_exporter. This setup enables service discovery and reliable infrastructure monitoring across your cluster.

What is the best way to set up Prometheus alerting rules with Alertmanager?

The best way to set up Prometheus alerting is by defining recording and alert rules in the configuration, then integrating Alertmanager to handle routing. This ensures alerts trigger reliably based on collected metrics.

Can I deploy Prometheus on Docker using Helm charts for scalable monitoring?

Yes, you can deploy Prometheus on Docker or Kubernetes using Helm charts for scalable monitoring. This approach follows best practices for resource usage and enables complete observability of your applications.

Does Prometheus configuration support integration with Grafana dashboards and long-term storage?

Prometheus configuration supports integration with Grafana dashboards for visualization and long-term storage options for metric retention. This ensures compatibility across tools while maintaining secure access to monitoring data.

Why does Prometheus metric scraping fail when service discovery is misconfigured in Kubernetes?

Prometheus metric scraping fails when service discovery is misconfigured because scrape targets cannot be dynamically located. Correctly defining Kubernetes service discovery endpoints ensures metrics are collected reliably without manual target updates.