metrics-collection

Collect counters, gauges, and histograms for Prometheus-compatible metrics.

783|62|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dadbodgeoff/drift --skill metrics-collection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics-collection
Source: https://github.com/dadbodgeoff/drift/tree/main/drift%20v1%20depreciated/skills/metrics-collection
Command: npx skills add https://github.com/dadbodgeoff/drift --skill metrics-collection

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a robust framework for collecting and exporting system metrics, enabling detailed monitoring, dashboarding, and alerting.

Core Features & Use Cases

  • Metrics Types: Supports Counters, Gauges, and Histograms for comprehensive data capture.
  • Prometheus Compatibility: Exports metrics in a format readily consumable by Prometheus.
  • Use Case: Track the number of API requests, monitor active user sessions, and measure request latency to identify performance bottlenecks.

Quick Start

Use the metrics-collection skill to register a new counter named 'api_calls_total' with labels 'method' and 'path'.

Frequently Asked Questions about metrics-collection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect Prometheus metrics for API request latency and active sessions?

You collect Prometheus metrics by implementing counters, gauges, and histograms to track API requests, active user sessions, and measure request latency for identifying performance bottlenecks.

What is the best way to set up observability and export custom metrics for dashboards?

The best way to set up observability is to use a framework that exports metrics in a Prometheus-compatible format, enabling detailed monitoring, dashboarding, and alerting for system observability.

Do I need a Python or TypeScript environment to integrate Prometheus metrics collection?

Yes, you need a TypeScript or Python environment to integrate this Prometheus metrics collection framework and register custom counters, gauges, or histograms with custom labels.

Can I attach custom labels like method and path to Prometheus counters?

Yes, you can attach custom labels like method and path to Prometheus counters. The framework supports custom labels across counters, gauges, and histograms for detailed system monitoring.

What types of metrics can I track for system observability and alerting?

For system observability and alerting, you can track Counters, Gauges, and Histograms. These metric types facilitate comprehensive data capture for dashboards and performance monitoring.