<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/AppLaunchDiagnostic",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "s:9MetricKit19AppLaunchDiagnosticV"
  },
  "title" : "AppLaunchDiagnostic"
}
-->

# AppLaunchDiagnostic

A diagnostic report for an app launch.

```
struct AppLaunchDiagnostic
```

## Discussion

This captures a [`CallStackTree`](/documentation/MetricKit/CallStackTree) and a `launchDuration` measurement for app launches that exceed the diagnostic threshold.

## Topics

### Call stack

[`let callStackTree: CallStackTree`](/documentation/MetricKit/AppLaunchDiagnostic/callStackTree)

The application call stack tree associated with the launch issue.

### Launch details

[`let launchDuration: Measurement<UnitDuration>`](/documentation/MetricKit/AppLaunchDiagnostic/launchDuration)

Duration of the launch that triggered this diagnostic.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Decodable`](/documentation/Swift/Decodable)

[`Sendable`](/documentation/Swift/Sendable)

[`Encodable`](/documentation/Swift/Encodable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)