---
title: environment
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/diagnosticreport/environment-swift.property
---

# environment

Environment context for the device and app.

## Declaration

```swift
let environment: DiagnosticReport.Environment
```

## Mentioned in

Analyzing app performance with MetricKit Monitoring app performance with MetricKit

## See Also

### Report details

- [timeRange](metrickit/diagnosticreport/timerange.md)
