You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-local/manage/health-service-cluster-performance-history.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Cluster performance history
4
4
ms.author: alkohli
5
5
ms.topic: how-to
6
6
author: alkohli
7
-
ms.date: 01/16/2025
7
+
ms.date: 07/30/2025
8
8
---
9
9
10
10
# Get cluster performance history
@@ -13,6 +13,8 @@ ms.date: 01/16/2025
13
13
14
14
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.
15
15
16
+
For additional information, see [Performance history for Storage Spaces Direct](/windows-server/storage/storage-spaces/performance-history).
17
+
16
18
## Usage in PowerShell
17
19
Use the following cmdlet to get metrics for the entire Storage Spaces Direct cluster:
<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
+
34
38
## Usage in .NET and C#
35
39
This sections shows how to connect to the Health Service, use discover objects, and implement an Observer to begin streaming metrics.
36
40
@@ -108,8 +112,6 @@ foreach (CimInstance Node in Nodes)
108
112
109
113
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.
110
114
111
-
For the complete list of available metrics, see [Performance history for Storage Spaces Direct](/windows-server/storage/storage-spaces/performance-history).
112
-
113
115
### IObserver.OnNext()
114
116
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.
0 commit comments