An object representing a custom metric.
- iOS 13.0+
- Mac Catalyst 13.0+
A custom metric is an event type with a developer-defined name and category. You can add custom metrics to daily reports to capture information specific to your app.
Custom metrics are a type of signpost saved to custom OS logs created using
make. The daily report contains information about the number and duration of custom events, as well as the power and performance impact of those events. Only custom metric events logged using MetricKit utility functions capture additional power and performance data.