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
description: Learn how to effectively use the GetMetric() call to capture locally pre-aggregated metrics for .NET and .NET Core applications with Azure Monitor Application Insights.
4
4
ms.service: azure-monitor
5
5
ms.topic: conceptual
6
-
ms.date: 04/28/2020
6
+
ms.date: 04/05/2023
7
7
ms.devlang: csharp
8
8
ms.reviewer: casocha
9
9
---
@@ -306,6 +306,8 @@ SeverityLevel.Error);
306
306
307
307
## Next steps
308
308
309
+
*[Metrics - Get - REST API](https://learn.microsoft.com/rest/api/application-insights/metrics/get)
310
+
*[Application Insights API for custom events and metrics](api-custom-events-metrics.md)
309
311
*[Learn more](./worker-service.md) about monitoring worker service applications.
310
312
* Use [log-based and pre-aggregated metrics](./pre-aggregated-metrics-log-metrics.md).
311
313
* Get started with [metrics explorer](../essentials/metrics-getting-started.md).
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/pre-aggregated-metrics-log-metrics.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
@@ -2,7 +2,7 @@
2
2
title: Log-based and pre-aggregated metrics in Application Insights | Microsoft Docs
3
3
description: This article explains when to use log-based versus pre-aggregated metrics in Application Insights.
4
4
ms.topic: conceptual
5
-
ms.date: 01/06/2023
5
+
ms.date: 04/05/2023
6
6
ms.reviewer: vitalyg
7
7
---
8
8
@@ -23,7 +23,7 @@ At the same time, collecting a complete set of events might be impractical or ev
23
23
24
24
## Pre-aggregated metrics
25
25
26
-
In addition to log-based metrics, in late 2018, the Application Insights team shipped a public preview of metrics that are stored in a specialized repository that's optimized for time series. The new metrics are no longer kept as individual events with lots of properties. Instead, they're stored as pre-aggregated time series, and only with key dimensions. This change makes the new metrics superior at query time. Retrieving data happens much faster and requires less compute power. As a result, new scenarios are enabled, such as [near real time alerting on dimensions of metrics](../alerts/alerts-metric-near-real-time.md) and more responsive [dashboards](./overview-dashboard.md).
26
+
In addition to log-based metrics, in late 2018, the Application Insights team shipped a public preview of metrics that are stored in a specialized repository that's optimized for time series. The new metrics are no longer kept as individual events with lots of properties. Instead, they're stored as pre-aggregated time series, and only with key dimensions. This change makes the new metrics superior at query time. Retrieving data happens faster and requires less compute power. As a result, new scenarios are enabled, such as [near real time alerting on dimensions of metrics](../alerts/alerts-metric-near-real-time.md) and more responsive [dashboards](./overview-dashboard.md).
27
27
28
28
> [!IMPORTANT]
29
29
> Both log-based and pre-aggregated metrics coexist in Application Insights. To differentiate the two, in the Application Insights user experience the pre-aggregated metrics are now called Standard metrics (preview). The traditional metrics from the events were renamed to Log-based metrics.
@@ -79,7 +79,7 @@ Pre-aggregated metrics are stored as time series in Azure Monitor. [Azure Monito
79
79
80
80
## Why is collection of custom metrics dimensions turned off by default?
81
81
82
-
The collection of custom metrics dimensions is turned off by default because in the future storing custom metrics with dimensions will be billed separately from Application Insights. Storing the non-dimensional custom metrics will remain free (up to a quota). You can learn about the upcoming pricing model changes on our official [pricing page](https://azure.microsoft.com/pricing/details/monitor/).
82
+
The collection of custom metrics dimensions is turned off by default because in the future storing custom metrics with dimensions will be billed separately from Application Insights. Storing the nondimensional custom metrics remain free (up to a quota). You can learn about the upcoming pricing model changes on our official [pricing page](https://azure.microsoft.com/pricing/details/monitor/).
83
83
84
84
## Create charts and explore log-based and standard pre-aggregated metrics
85
85
@@ -95,5 +95,7 @@ Selecting the [Enable alerting on custom metric dimensions](#custom-metrics-dime
95
95
96
96
## Next steps
97
97
98
+
*[Metrics - Get - REST API](https://learn.microsoft.com/rest/api/application-insights/metrics/get)
99
+
*[Application Insights API for custom events and metrics](api-custom-events-metrics.md)
98
100
*[Near real time alerting](../alerts/alerts-metric-near-real-time.md)
99
101
*[GetMetric and TrackValue](./api-custom-events-metrics.md#getmetric)
0 commit comments