Contents

MetricReport.StateEntry

A metric entry scoped to a specific recorded app state.

Declaration

struct StateEntry

Discussion

StateEntry is only present when state reporting is enabled via init(enabledStateReportingDomains:). Access state entries through stateEntries.

Each entry corresponds to one MetricManager.ReportedState and contains the metric values aggregated while the app was in that state. Only a subset of metrics appear in state entries, including hang time, hitch time, app termination counts, signpost intervals, location activity time, and app runtime metrics.

Topics

State details

Metric values