Skip to content

Commit 1941b8d

Browse files
committed
Cluster performance history improvements
1 parent 1d3ef87 commit 1941b8d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

azure-local/manage/health-service-cluster-performance-history.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Cluster performance history
44
ms.author: alkohli
55
ms.topic: how-to
66
author: alkohli
7-
ms.date: 01/16/2025
7+
ms.date: 07/30/2025
88
---
99

1010
# Get cluster performance history
@@ -13,6 +13,8 @@ ms.date: 01/16/2025
1313
1414
The Health Service reduces the work required to get live performance and capacity information from your Storage Spaces Direct cluster. One cmdlet provides a curated list of essential metrics, which are collected efficiently and aggregated dynamically across nodes, with built-in logic to detect cluster membership. All values are real-time and point-in-time only.
1515

16+
For additional information, see [Performance history for Storage Spaces Direct](/windows-server/storage/storage-spaces/performance-history).
17+
1618
## Usage in PowerShell
1719
Use the following cmdlet to get metrics for the entire Storage Spaces Direct cluster:
1820

@@ -31,6 +33,8 @@ Get-Volume -FileSystemLabel <Label> | Get-ClusterPerformanceHistory
3133
Get-StorageNode -Name <Name> | Get-ClusterPerformanceHistory
3234
```
3335

36+
<br>For additional information on how to access performance history data using PowerShell, see [Scripting with PowerShell and Storage Spaces Direct performance history](/windows-server/storage/storage-spaces/performance-history-scripting).
37+
3438
## Usage in .NET and C#
3539
This sections shows how to connect to the Health Service, use discover objects, and implement an Observer to begin streaming metrics.
3640

@@ -108,8 +112,6 @@ foreach (CimInstance Node in Nodes)
108112

109113
Invoke **GetMetric** to begin streaming samples of an expert-curated list of essential metrics based on provided metric names from **MetricName** parameter, which are collected efficiently and aggregated dynamically across nodes, with built-in logic to detect cluster membership. Samples arrive based on the provided timeframe from the **StreamName** parameter.
110114

111-
For the complete list of available metrics, see [Performance history for Storage Spaces Direct](/windows-server/storage/storage-spaces/performance-history).
112-
113115
### IObserver.OnNext()
114116
This sample code uses the [Observer Design Pattern](/dotnet/standard/events/observer-design-pattern) to implement an Observer whose **OnNext()** method is invoked when each new sample of metrics arrives. Its **OnCompleted()** method is called if/when streaming ends. For example, you might use it to reinitiate streaming, so that it continues indefinitely.
115117

0 commit comments

Comments
 (0)