o11y-metrics-api

Community

Query TiDB O11Y metrics via Prometheus-compatible API.

Authoralex-quan-001
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the manual effort of building custom integrations to access TiDB Cloud cluster observability data, enabling direct querying of performance and infrastructure metrics via a standard Prometheus-compatible interface.

Core Features & Use Cases

  • Application Metrics Querying: Fetch TiDB and TiKV performance metrics including P99 coprocessor latency, request rates, and queue depth for cluster performance analysis.
  • K8s Infrastructure Metrics Discovery: Auto-discover the correct O11Y UUID for Kubernetes infrastructure metrics like HPA replica counts, CPU utilization, and EBS disk performance without manual configuration.
  • Token Caching: Automatically manage Auth0 authentication tokens with 24-hour validity to avoid repeated login calls and reduce API rate limit issues.
  • Use Case Example: When investigating a TiDB cluster latency spike, use this Skill to pull coprocessor P99 latency trends and current HPA replica counts to identify whether the issue stems from application performance or insufficient scaling.

Quick Start

Use the o11y-metrics-api skill to retrieve the last 24 hours of P99 coprocessor latency and current HPA replica counts for your TiDB cluster with ID 2013516099403907072.

Dependency Matrix

Required Modules

curljq

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: o11y-metrics-api
Download link: https://github.com/alex-quan-001/nutshell-skills/archive/main.zip#o11y-metrics-api

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 537,000+ vetted skills library on demand.