tsuga-metric-naming-fix

Official

Rename broken metrics to match OTel.

Authortsuga-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill fixes metric names that violate OpenTelemetry conventions, preventing inconsistent dashboards, alerts, and analysis across your instrumentation.

Core Features & Use Cases

  • OTel-compliant renaming: Converts metric names to dot notation, removes service/env/version/unit prefixes, and avoids unit suffixes in names.
  • Evidence-based change planning: Lists violating metrics via Tsuga CLI, locates the exact source code call sites, and records file paths and line numbers.
  • Downstream impact guardrails: Checks monitors and dashboards for references to old metric names before presenting a confirmation prompt.
  • Safe mutation workflow: Skips metrics with no aggregation data, and requires explicit user confirmation before applying any code edits.

Quick Start

Provide the service name or metric-name filter and the source code path, then ask the AI to propose and apply OTel naming fixes for your metrics after it confirms impacted monitors and dashboards.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tsuga-metric-naming-fix
Download link: https://github.com/tsuga-dev/agent-plugins/archive/main.zip#tsuga-metric-naming-fix

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.