---
title: metric
framework: workoutkit
role: symbol
role_heading: Instance Property
path: workoutkit/workoutalert/metric
---

# metric

The metric used to measure performance for the alert.

## Declaration

```swift
var metric: WorkoutAlertMetric { get }
```

## See Also

### Setting the alert metric

- [WorkoutAlertMetric](workoutkit/workoutalertmetric.md)
