add-telemetry

Implement trait-based telemetry with enums for Rust event tracking.

6|Updated May 10, 2026
One-click install
npx skills add https://github.com/Luohao-Yan/warp-cn --skill add-telemetry-luohao-yan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-telemetry
Source: https://github.com/Luohao-Yan/warp-cn/tree/main/.agents/skills/add-telemetry
Command: npx skills add https://github.com/Luohao-Yan/warp-cn --skill add-telemetry-luohao-yan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of effectively tracking user interactions and system events in the Warp codebase, enabling developers to monitor performance and diagnose issues with ease.

Core Features & Use Cases

  • Feature-Specific Event Tracking: Organize telemetry events by feature-specific enums for a clear and manageable structure.
  • Controlled Event Sending: Use feature flags or build channels to control when events are sent, enhancing security and relevance.
  • Custom Event Payloads: Include detailed information about each event, allowing for in-depth analysis.
  • Use Case: For a feature like 'user sign-in', the Skill allows you to track successful sign-ins and the duration of the process, aiding in performance optimization.

Quick Start

Implement the telemetry for the 'user sign-in' feature and monitor event tracking within your codebase.

Frequently Asked Questions about add-telemetry

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

FAQPage Schema
How do I implement telemetry tracking for user behavior in a Rust codebase?

To implement telemetry tracking in a Rust codebase, utilize a trait-based system with enums for structured event handling, enabling precise monitoring of user behavior and system events.

What is the best way to structure event tracking for specific features in Rust?

The best way to structure event tracking is by organizing telemetry events into feature-specific enums, ensuring a clear, manageable structure for monitoring distinct system interactions.

Can I control when telemetry events are sent using build channels or feature flags?

Yes, you can control event sending by using feature flags or build channels to enablement states, enhancing security and ensuring telemetry data relevance.

How does a trait-based telemetry system handle custom event payloads?

A trait-based telemetry system handles custom event payloads by allowing detailed information inclusion for each event, enabling in-depth analysis of user interactions and performance metrics.

How to track performance metrics like sign-in duration using telemetry in Rust?

Track performance metrics by implementing telemetry for specific features like user sign-in, capturing event duration and success rates to aid in performance optimization.

Why should I use enums for structured event handling in a telemetry system?

Using enums for structured event handling provides a organized framework for categorizing system events, making telemetry implementations clearer and easier to maintain within the codebase.