# Deploy Observability Stack

> Deploys Prometheus, Grafana, and Loki in parallel and synthesizes dashboard integrations.

- Skill: `knuckles-team/deploy-observability-stack` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add knuckles-team/deploy-observability-stack`
- Raw SKILL.md: https://api.skillmd.com/api/skills/knuckles-team/deploy-observability-stack/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: Knuckles-Team (https://skillmd.com/u/knuckles-team)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/knuckles-team/deploy-observability-stack

---


# Deploy Observability Stack Workflow

**CONCEPT:INFRA-001**

Deploys Prometheus, Grafana, and Loki in parallel and synthesizes dashboard integrations.

## Steps

### Step 1: Prometheus Setup
**Agent**: `discovery-agent`
**Tools**: `tun_tm_system, tun_tm_hosts`

Deploy the Prometheus container to scrape system metrics and container stats.
Expected: `prometheus-running`

### Step 2: Grafana Setup [depends_on: none]
**Agent**: `deployer-agent`
**Tools**: `pt_stack, cnt_cm_compose_operations`

Deploy the Grafana container and auto-register Prometheus and Loki data sources.
Expected: `grafana-running`

### Step 3: Loki Setup [depends_on: none]
**Agent**: `verifier-agent`
**Tools**: `pt_docker, cnt_cm_container_operations`

Deploy the Loki logs aggregation server and configure sidecars.
Expected: `loki-running`

### Step 4: Observability Synth [depends_on: prometheus-setup, grafana-setup, loki-setup]
**Agent**: `dns-configurator`
**Tools**: `adg_rewrites, td_zones`

Configure default system health dashboards, alert rules, and verify final telemetry integration across all services.
Expected: `system-integrated`

### Step 5: KG Persistence [depends_on: Observability Synth]
**Agent**: `dns-configurator`
**Tools**: `graph_write`

Persist workflow results as nodes and edges in the Knowledge Graph.
Create appropriate typed nodes with metadata and link to existing domain entities.

## Output
- Deploy Observability Stack results persisted in KG
- Structured report (MD/PDF)
- Audit trail with timestamps and agent attributions

## Execution

Run this workflow as a dependency-ordered DAG. Steps with no unmet `depends_on` run in parallel; dependents run after their prerequisites complete.

- **Run first (in parallel):** Step 1 — Prometheus Setup; Step 2 — Grafana Setup; Step 3 — Loki Setup
- **After level 0:** Step 4 — Observability Synth
- **After level 1:** Step 5 — KG Persistence

**Execution:** If graph-os is reachable, offload the whole DAG via `graph_orchestrate action=execute_workflow` (or the `kg-delegate` skill) for true parallel/swarm execution. Otherwise execute the steps natively in dependency order: run steps with no unmet `depends_on` in parallel, then their dependents.

