# Telemetry

> Unified pipeline telemetry — collects per-stage performance metrics (CPU, memory, I/O) and diagnostic events into structured reports (JSON, text).

- Skill: `docxology/telemetry` (Agent Skill, multi-file: 8 files)
- Install (CLI): `npx get-skill add docxology/telemetry`
- Raw SKILL.md: https://api.skillmd.com/api/skills/docxology/telemetry/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: docxology (https://skillmd.com/u/docxology)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/docxology/telemetry

---


# Telemetry SKILL

This module provides unified pipeline telemetry for the infrastructure layer. It bridges `StagePerformanceTracker` resource metrics with `DiagnosticReporter` validation events into a single `TelemetryCollector`.

## When to Use

- When you need to instrument pipeline stage execution with resource tracking
- When you want a structured end-of-run report combining performance + diagnostics
- When configuring telemetry thresholds for CI warning detection

## API Surface

| Symbol | Type | Purpose |
| --- | --- | --- |
| `TelemetryConfig` | dataclass | Configuration with YAML-loadable `from_dict()` |
| `TelemetryCollector` | class | Main lifecycle: `start_stage()` → `end_stage()` → `finalize()` |
| `StageTelemetry` | dataclass | Per-stage record |
| `PipelineTelemetry` | dataclass | Full report with warnings |
| `PerformanceWarning` | dataclass | Individual anomaly record |

