BackgroundTerminationMetric
A metric that counts app terminations from the background by category.
Declaration
struct BackgroundTerminationMetricDiscussion
This metric corresponds to the MetricResult.backgroundTermination(_:) case. It appears in both intervalEntries and stateEntries when state reporting is enabled.
Use terminationCategory to correlate individual crash diagnostics with these aggregate counts.
Unexpected background terminations can affect downstream performance metrics such as launch time, because the app must fully restart instead of resuming from suspension. For information about launch times when the app resumes from suspension, see ApplicationResumeTimeMetric.
This type replaces the backgroundExitData property of MXAppExitMetric.