---
title: states
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/metricreport/intervalentry/states
---

# states

All states that were active during this collection interval.

## Declaration

```swift
let states: [MetricManager.ReportedState]
```

## Mentioned in

Monitoring app performance with MetricKit

## Discussion

Discussion This array contains all the StateReporting states that occurred within the interval. The array may be empty if no StateReporting context was active during the interval.

## See Also

### Interval details

- [duration](metrickit/metricreport/intervalentry/duration.md)
