---
title: AppLaunchDiagnostic
framework: metrickit
role: symbol
role_heading: Structure
path: metrickit/applaunchdiagnostic
---

# AppLaunchDiagnostic

A diagnostic report for an app launch.

## Declaration

```swift
struct AppLaunchDiagnostic
```

## Discussion

Discussion This captures a CallStackTree and a launchDuration measurement for app launches that exceed the diagnostic threshold. This type replaces MXAppLaunchDiagnostic.

## Topics

### Call stack

- [callStackTree](metrickit/applaunchdiagnostic/callstacktree.md)

### Launch details

- [launchDuration](metrickit/applaunchdiagnostic/launchduration.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Crash and hang diagnostics

- [CrashDiagnostic](metrickit/crashdiagnostic.md)
- [HangDiagnostic](metrickit/hangdiagnostic.md)
