metrickit

Collect and analyze MetricKit performance metrics and crash diagnostics.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/femitz/flyby --skill metrickit-femitz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrickit
Source: https://github.com/femitz/flyby/tree/main/.agents/skills/metrickit
Command: npx skills add https://github.com/femitz/flyby --skill metrickit-femitz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Collect and analyze on-device performance metrics and crash diagnostics from production devices using MetricKit, enabling proactive performance triage and issue diagnosis.

Core Features & Use Cases

  • Subscriber Setup: Register a MetricKit subscriber early in the app lifecycle to start collecting data.
  • Payload Handling: Process MXMetricPayload and MXDiagnosticPayload, persist JSON, and forward telemetry to analytics backends.
  • Diagnostics & Signposts: Access MXCallStackTree for call stacks, and emit custom signpost metrics for key events.

Quick Start

Register a MetricKit subscriber early in your app and begin collecting payloads on-device.

Frequently Asked Questions about metrickit

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

FAQPage Schema
How do I collect on-device performance metrics and crash diagnostics from production iOS apps?

You can collect on-device performance metrics and crash diagnostics by subscribing to MXMetricManager early in the app lifecycle. This allows your app to receive MXMetricPayload and MXDiagnosticPayload data directly from production devices for performance triage.

How does MetricKit handle call stack trees for crash diagnostics?

MetricKit handles call stack trees by providing MXCallStackTree data within MXDiagnosticPayload objects. You can access these call stacks to diagnose application hangs, crashes, and performance issues directly from on-device telemetry.

How do I subscribe to MXMetricManager to start receiving MetricKit payloads?

To subscribe to MXMetricManager, you must register a MetricKit subscriber early in your app's lifecycle. This setup ensures your code begins processing incoming MXMetricPayload and MXDiagnosticPayload objects for telemetry collection.

Can I integrate custom signpost metrics with MetricKit diagnostic data?

Yes, you can integrate custom signpost metrics with MetricKit diagnostic data. The Skill helps you emit custom signpost metrics for key events and combine them with MXDiagnosticPayload information for comprehensive backend analysis.

What is the best way to export MetricKit telemetry for backend analysis?

The best way to export MetricKit telemetry for backend analysis is to process the incoming payloads, persist the data as JSON, and then forward the serialized JSON files to your analytics backend for proactive performance triage.

Does MetricKit work for diagnosing performance issues on production devices?

MetricKit is designed specifically for diagnosing performance issues on production devices. It collects on-device metrics and crash diagnostics, enabling you to access call stack trees and export telemetry for issue diagnosis.