Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

devops-observability

БесплатноБез исполняемых скриптовНе проверен

Use when designing, writing, reviewing or debugging monitoring, logging or tracing - Prometheus (scrape config, service discovery, relabeling, recording and…

Fusengineот Fusengine★ 36 звёзд на GitHub

Об этом скилле

Covers the three observability signals for an IT/DevOps estate: Prometheus metrics and rules, Alertmanager routing, exporters, the Kubernetes Operator stack, Grafana as code, Loki logs collected by Grafana Alloy, OpenTelemetry tracing and sampling, alert design, and troubleshooting the pipeline itself. Does not cover SLO/error-budget design and incident response (devops-sre-ops), workload manifests (devops-kubernetes) or SaaS vendor products.

DevOps Observability

Agent Workflow (MANDATORY)

Before ANY monitoring config or change, spawn in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - find existing prometheus.yml, rule files, Alertmanager/Loki/Alloy/Collector configs, Helm values, dashboards, ServiceMonitors
  2. fuse-ai-pilot:research-expert - verify option names for the deployed version at prometheus.io, grafana.com/docs, opentelemetry.io (the OpenTelemetry Collector renames components between 0.x releases)
  3. mcp__context7__query-docs - Prometheus, Grafana, Loki, OpenTelemetry docs

Then discover read-only (running versions, promtool check, amtool check-config, alloy validate). After writing files, run fuse-ai-pilot:sniper. Live changes follow the agent's Operations Safety Protocol and observability-safe-ops.md.

Versions (checked 2026-11-10)

Prometheus 3.16.0 is latest; LTS 3.13 is the conservative choice. Alertmanager 0.35.0 has breaking flag/config changes (event recorder outputs need a name). Promtail reached end of life on 2026-03-02: collect logs with Grafana Alloy. The OpenTelemetry Collector renamed otlp to otlp_grpc, otlphttp to otlp_http, and added a queue_batch processor meant to replace batch; read its changelog before every 0.x bump.

Overview

Need Decision in one line
What to instrument USE for resources, RED for services, golden signals at the edge; plus a blackbox probe of every user-facing URL
Metrics store Prometheus (local TSDB, retention by time AND size flags); long-term via remote write to Mimir/Thanos/VictoriaMetrics only when needed
Alerts Symptom-based, for: + keep_firing_for, severity page/ticket, every alert has runbook_url; routing and inhibition in Alertmanager
Kubernetes kube-prometheus-stack; ServiceMonitor/PodMonitor/PrometheusRule; check the release label selectors and PVCs
Logs Loki + Alloy; few static labels, rest in structured metadata; retention by the compactor
Traces OpenTelemetry SDK -> Collector/Alloy (OTLP 4317/4318) -> Tempo; tail-sample errors and slow traces
Dashboards/alerts as code Grafana provisioning files in Git; metric alerts live in Prometheus, not Grafana

Critical Rules

  1. Version first - read the running versions and the config of the target before writing an option; renames and removals are frequent (OpenTelemetry Collector, Alertmanager, Prometheus 3.x)
  2. Validate offline before any reload - promtool check config|rules, amtool check-config, alloy validate, otelcol validate; reloading production is a proposal in ACTION / EFFECT / PROOF / WAIT-FOR-GO format (observability-safe-ops.md)
  3. Cardinality is the budget - no unbounded label values (user IDs, trace IDs, pod names as Loki labels); use sample_limit/label_limit, metric_relabel_configs, recording rules
  4. Destructive verbs are proposed, not run - admin-API series deletion, shrinking retention, Loki delete requests, removing PVCs/buckets, mass silences, helm uninstall
  5. Persistent storage or it is not monitoring - emptyDir/no volume loses metrics and silences on restart
  6. Never print secrets - receivers use *_file options; Grafana secureJsonData; no tokens in configs or logs
  7. Monitor the monitoring - Watchdog alert to an external dead man's switch, scrape and notification-failure alerts
  8. Never invent a key or metric name - cite the page for the version; unknown = "not verified"

Architecture

monitoring/
├── prometheus.yml            # global, scrape_configs, alerting, (remote_write)
├── rules/                    # alerts and recording rules (promtool-checked)
├── alertmanager.yml          # route tree, inhibit_rules, receivers (secrets as files)
├── blackbox.yml              # probe modules
├── alloy/*.alloy             # logs (Loki), host metrics, OTLP gateway
├── otel-collector.yaml       # OpenTelemetry Collector gateway (if used instead of Alloy)
├── loki-config.yaml          # storage, schema, compactor retention
└── grafana/
    ├── provisioning/{datasources,dashboards,alerting}/
    └── dashboards/*.json

Reference Guide

Concepts

Topic Reference When to Consult
Signals and method signals-and-method.md
Полный SKILL.md на GitHub

Установить devops-observability в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/alert-design.mdreferences/alertmanager.mdreferences/exporters.mdreferences/grafana-as-code.mdreferences/logs-loki-alloy.mdreferences/logs-other-stacks.mdreferences/long-term-storage.mdreferences/observability-safe-ops.mdreferences/prometheus-config.mdreferences/prometheus-operator-k8s.mdreferences/promql-essentials.mdreferences/signals-and-method.mdreferences/templates/alertmanager.ymlreferences/templates/alloy-host.alloyreferences/templates/alloy-k8s-logs.alloyreferences/templates/alloy-otlp.alloyreferences/templates/blackbox.ymlreferences/templates/docker-compose-monitoring.yamlreferences/templates/file-sd-nodes.ymlreferences/templates/grafana-alerting-routing.yamlreferences/templates/grafana-dashboards-provider.yamlreferences/templates/grafana-datasources.yamlreferences/templates/kube-prometheus-stack-values.yamlreferences/templates/loki-config.yamlreferences/templates/otel-collector.yamlreferences/templates/prometheus.ymlreferences/templates/prometheusrule.yamlreferences/templates/rules-alerts.ymlreferences/templates/rules-recording.ymlreferences/templates/servicemonitor.yamlreferences/tracing-opentelemetry.mdreferences/troubleshooting-playbook.md

FAQ

Что делает скилл devops-observability?

Use when designing, writing, reviewing or debugging monitoring, logging or tracing - Prometheus (scrape config, service discovery, relabeling, recording and alerting rules, retention, remote write, cardinality), PromQL and histograms, Alertmanager routing/grouping/inhibition/silences, exporters (node, blackbox, cAdvisor, kube-state-metrics), kube-prometheus-stack and Prometheus Operator CRDs (ServiceMonitor, PodMonitor, PrometheusRule), long-term storage choices (Thanos, Mimir, VictoriaMetrics), Grafana provisioning as code, Loki with Grafana Alloy (Promtail is end of life), LogQL, OpenTelemetry Collector pipelines, sampling, Tempo/Jaeger, alert design and observability troubleshooting. Not for SLO and error-budget method or incident response (devops-sre-ops), Kubernetes workloads (devops-kubernetes), host OS tuning (devops-linux) or SaaS vendor products.

Как установить скилл devops-observability?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл devops-observability запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить devops-observability с