monitoring-authoring

Author PrometheusRule, ServiceMonitor, and PodMonitor resources with kustomize.

24|3|Updated Mar 31, 2022
One-click install
npx skills add https://github.com/ionfury/homelab --skill monitoring-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monitoring-authoring
Source: https://github.com/ionfury/homelab/tree/main/.claude/skills/monitoring-authoring
Command: npx skills add https://github.com/ionfury/homelab --skill monitoring-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Author monitoring resources for PrometheusRule, ServiceMonitor, PodMonitor, and related configurations.

Core Features & Use Cases

  • Create and modify PrometheusRule, ServiceMonitor, PodMonitor, AlertmanagerConfig, Silence, and Canary resources.
  • Standardize placement in config/monitoring and kustomization registrations for platform-wide observability.
  • Use when adding monitoring for a new component or adjusting existing monitoring to reflect changes in the system.

Quick Start

Create the monitoring resources for your component and register them in the appropriate kustomization, then verify the setup with the validation workflow.

Frequently Asked Questions about monitoring-authoring

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

FAQPage Schema
How do I create PrometheusRule and ServiceMonitor configurations for a new component?

To create monitoring resources for a new component, author PrometheusRule, ServiceMonitor, and PodMonitor configurations, place them in config/monitoring, and register them in the appropriate kustomization for platform-wide observability.

What is the best way to standardize Prometheus monitoring resource placement across clusters?

Standardize monitoring resource placement by ensuring Prometheus resources follow labeling conventions, reside in the monitoring namespace via kustomize, and use standardized templates for PrometheusRule and ServiceMonitor configurations.

When do I need to update AlertmanagerConfig and PodMonitor resources?

Update AlertmanagerConfig and PodMonitor resources when adding monitoring for a new component or adjusting existing monitoring to reflect changes in the system across clusters, namespaces, and subsystems.

Does kustomize work with Prometheus monitoring resources for managing namespace placement?

Yes, kustomize works with Prometheus monitoring resources by registering them within kustomization files, ensuring they reside in the monitoring namespace and follow platform-wide labeling conventions.

Can I use Canary configurations alongside ServiceMonitor for component observability?

Yes, you can use Canary configurations alongside ServiceMonitor by following standardized templates for Canary setups and registering them in kustomization for component monitoring visibility.

Why are my Prometheus alerts not following labeling conventions after updating monitoring resources?

Prometheus alerts may not follow labeling conventions if the PrometheusRule resources are not properly standardized or registered in the appropriate kustomization within the monitoring namespace.