/open-horizons-platform:azure-observability-stackfrom open-horizons-platform
Deploys and operates Prometheus, Grafana, Loki, and Alertmanager on AKS for Open Horizons observability. Includes Helm installation, dashboard config, alert rules, and troubleshooting.
Ships in open-horizons-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use platform observability intent and cluster access to deploy, validate, and operate Prometheus, Grafana, Loki, and Alertmanager with concrete command evidence.
# Add Helm repos
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
# Create namespace
kubectl create namespace monitoring
# Install kube-prometheus-stack with project values
helm install monitoring prometheus-community/kube-prometheus-stack --namespace monitoring --values deploy/helm/monitoring/values.yaml --wait --timeout 15m
# Verify all pods are running
kubectl get pods -n monitoring
kubectl wait --for=condition=ready pod -l app.kubernetes.io/instance=monitoring -n monitoring --timeout=600s
# Create ConfigMap from project dashboards
kubectl create configmap grafana-dashboards --namespace monitoring --from-file=grafana/dashboards/ --dry-run=client -o yaml | kubectl apply -f -
# Label for Grafana sidecar auto-discovery
kubectl label configmap grafana-dashboards --namespace monitoring grafana_dashboard=1
# Apply Prometheus alerting rules
kubectl apply -f prometheus/alerting-rules.yaml -n monitoring
# Apply recording rules
kubectl apply -f prometheus/recording-rules.yaml -n monitoring
# Validate rules syntax
promtool check rules prometheus/alerting-rules.yaml
promtool check rules prometheus/recording-rules.yaml
# Check all components
kubectl get pods -n monitoring
# Port-forward Grafana
kubectl port-forward -n monitoring svc/monitoring-grafana 3000:80
# Port-forward Prometheus
kubectl port-forward -n monitoring svc/monitoring-kube-prometheus-prometheus 9090:9090
# Check Prometheus targets
curl -s http://localhost:9090/api/v1/targets | jq '.data.activeTargets | length'
# Verify Grafana datasources
GRAFANA_USER="${GRAFANA_USER:-admin}"
GRAFANA_PASSWORD="${GRAFANA_PASSWORD:?Set GRAFANA_PASSWORD from your secret store}"
curl -s -u "${GRAFANA_USER}:${GRAFANA_PASSWORD}" http://localhost:3000/api/datasources | jq '.[].name'
# Check Prometheus status
kubectl get pods -n monitoring -l app.kubernetes.io/name=prometheus
# Port forward Prometheus
kubectl port-forward -n monitoring svc/monitoring-kube-prometheus-prometheus 9090:9090
# Query Prometheus API
curl -s http://localhost:9090/api/v1/query?query=up | jq '.data.result'
# Check targets
curl -s http://localhost:9090/api/v1/targets | jq '.data.activeTargets | length'
# Check Grafana status
kubectl get pods -n monitoring -l app.kubernetes.io/name=grafana
# Port forward Grafana
kubectl port-forward -n monitoring svc/monitoring-grafana 3000:80
# List data sources
GRAFANA_USER="${GRAFANA_USER:-admin}"
GRAFANA_PASSWORD="${GRAFANA_PASSWORD:?Set GRAFANA_PASSWORD from your secret store}"
curl -s -u "${GRAFANA_USER}:${GRAFANA_PASSWORD}" http://localhost:3000/api/datasources | jq '.[].name'
# Check alertmanager
kubectl get pods -n monitoring -l app.kubernetes.io/name=alertmanager
# List active alerts
curl -s http://localhost:9093/api/v2/alerts | jq '.[].labels.alertname'
# Validate Prometheus rules
promtool check rules prometheus/alerting-rules.yaml
Return exactly this structure:
# Observability stack result
**Status:** PASS | FAIL | BLOCKED
**Summary:** One sentence describing monitoring readiness or the issue found.
### Component status
| Component | Namespace | Result | Evidence |
| --- | --- | --- | --- |
| Prometheus | monitoring | PASS | Pod, target, or API evidence |
| Grafana | monitoring | PASS | Pod or datasource evidence |
| Alertmanager | monitoring | PASS | Pod or alert evidence |
### Details
- Commands executed or recommended.
- Dashboards, rules, or values files validated.
- Active alerts, scrape errors, or log findings.
### Validation evidence
- Pods: PASS | FAIL with `kubectl` summary.
- Rules: PASS | FAIL with `promtool` summary.
- Datasources or targets: PASS | FAIL with API summary.
terraform-cli (skill) instead when the task is Terraform IaC for observability infrastructure.kubectl-cli (skill) instead when the task is direct Kubernetes inspection outside observability workflows.pipeline-diagnostics (skill) instead when the task is CI/CD pipeline diagnostics.references/project-reference.md: project file paths and observability best practices.references/troubleshooting.md: Prometheus, Grafana, and scrape-error troubleshooting commands.| Name | Type | Use it when |
|---|---|---|
kubectl-cli | skill | Kubernetes inspection or namespace operations are the primary task. |
helm-cli | skill | Helm install, upgrade, rollback, or values operations are the primary task. |
terraform-cli | skill | Terraform changes to the observability module are required. |
validation-scripts | skill | Script-based post-deploy validation is required. |
pipeline-diagnostics | skill | The problem is a GitHub Actions or CI/CD failure. |
open-horizons-sre-investigator | agent | Reliability investigation, SLOs, alerts, or incidents need ownership. |
open-horizons-deployment-operator | agent | Observability deployment is part of an approved full platform rollout. |
GRAFANA_PASSWORD are read from the secret store or environment, not written into output.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin open-horizons-platform117 skills in this plugin
/agent-framework-pythonApplies Microsoft Agent Framework Python monorepo conventions to the imported example tree. Use when changing its public API exports, package metadata, tests, or Python implementation./agentsApplies current repository conventions for custom-agent metadata, tool scope, body structure, runtime boundaries, and validation. Use when creating or updating an agent./agent-safetyUse when editing Open Horizons agent runtimes, tools, orchestration, or policy code that requires safety and governance controls.Other plugins' skills for the same job