Skip to content

Commit 4e41952

Browse files
committed
Add warning about sum aggregation
1 parent 79ee3b4 commit 4e41952

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/batch/batch-diagnostics.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ To view all Batch account metrics:
4545
3. Select one or more of the metrics. If you want, select additional resource metrics by using the **Subscriptions**, **Resource group**, **Resource type**, and **Resource** dropdowns.
4646
* For count-based metrics (like "Dedicated Core Count" or "Low-Priority Node Count"), use the "Average" aggregation. For event-based metrics (like "Pool Resize Complete Events"), use the "Count" aggregation.
4747

48+
> [!WARNING]
49+
> Do not use the "Sum" aggregation, which adds up the values of all data points received over the period of the chart
50+
>
51+
>
52+
4853
![Batch metrics](media/batch-diagnostics/metrics-portal.png)
4954

5055
To retrieve metrics programmatically, use the Azure Monitor APIs. For example, see [Retrieve Azure Monitor metrics with .NET](https://azure.microsoft.com/resources/samples/monitor-dotnet-metrics-api/).

0 commit comments

Comments
 (0)