# DashboardOptions.HistoryLength

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.dashboard/orleans.dashboard.dashboardoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.dashboard/orleans.dashboard.dashboardoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Dashboard/Orleans.Dashboard/DashboardOptions.cs)

```csharp
public int HistoryLength
```

Gets or sets the length of the history to maintain for metrics. Higher values provide more historical data but consume more memory. The default is 100.
