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: articles/azure-monitor/app/pricing.md
+21-8Lines changed: 21 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,15 @@ Azure provides a great deal of useful functionality in the [Azure Cost Managemen
69
69
More understanding of your usage can be gained by [downloading your usage from the Azure Portal](https://docs.microsoft.com/azure/billing/billing-download-azure-invoice-daily-usage-date#download-usage-in-azure-portal).
70
70
In the downloaded spreadsheet you can see usage per Azure resource per day. In this Excel spreadsheet, usage from your Application Insights resources can be found by first filtering on the "Meter Category" column to show "Application Insights" and "Log Analytics", and then adding a filter on the "Instance ID" column which is "contains microsoft.insights/components". Most Application Insights usage is reported on meters with the Meter Category of Log Analytics, since there is a single logs backend for all Azure Monitor components. Only Application Insights resources on legacy pricing tiers and multi-step web tests are reported with a Meter Category of Application Insights. The usage is shown in the "Consumed Quantity" column and the unit for each entry is shown in the "Unit of Measure" column. More details are available to help you [understand your Microsoft Azure bill](https://docs.microsoft.com/azure/billing/billing-understand-your-bill).
71
71
72
-
## Managing your data volume
72
+
## Understanding ingested data volume
73
+
74
+
To understand how much data is being ingested into Application Insights, you can:
73
75
74
-
To understand how much data your app is sending, you can:
76
+
1. Go to the **Usage and estimated cost** pane to see the daily data volume chart as described above.
77
+
2. In Metrics Explorer, add a new chart. For the chart metric, select **Data point volume**. Turn on **Grouping**, and then group by **Data type**.
78
+
3. Use the `systemEvents` table as shown below.
75
79
76
-
* Go to the **Usage and estimated cost** pane to see the daily data volume chart.
77
-
* In Metrics Explorer, add a new chart. For the chart metric, select **Data point volume**. Turn on **Grouping**, and then group by **Data type**.
78
-
* Use the `systemEvents` data type. For instance, to see the data volume ingested in the last day, the query would be:
80
+
For instance, you can use the `systemEvents` table to see the data volume ingested in the last 24 hours with the query:
79
81
80
82
```kusto
81
83
systemEvents
@@ -86,8 +88,21 @@ systemEvents
86
88
| summarize sum(BillingTelemetrySizeInBytes)
87
89
```
88
90
91
+
Or to see a chart of data volume by data type for the last 30 days, you can use:
| summarize sum(BillingTelemetrySizeInBytes) by BillingTelemetryType, bin(timestamp, 1d) | render barchart
100
+
```
101
+
89
102
This query can be used in an [Azure Log Alert](https://docs.microsoft.com/azure/azure-monitor/platform/alerts-unified-log) to set up alerting on data volumes.
90
103
104
+
## Managing your data volume
105
+
91
106
The volume of data you send can be managed using the following techniques:
92
107
93
108
***Sampling**: You can use sampling to reduce the amount of telemetry that's sent from your server and client apps, with minimal distortion of metrics. Sampling is the primary tool you can use to tune the amount of data you send. Learn more about [sampling features](../../azure-monitor/app/sampling.md).
@@ -164,9 +179,6 @@ To change the retention, from your Application Insights resource, go to the **Us
164
179
165
180
The retention can also be [set programatically using Powershell](powershell.md#set-the-data-retention) using the `retentionInDays` parameter. Additionally, if you set the data retention to 30 days, you can trigger an immediate purge of older data using the `immediatePurgeDataOn30Days` parameter, which may be useful for compliance-related scenarios. This purge functionality is only exposed via Azure Resource Manager and should be used with extreme care.
166
181
167
-
When billing begins for longer retention in early December 2019, data kept longer than 90 days will be billed as the same rate as is currently billed for Azure Log Analytics data retention.
168
-
Learn more at the [Azure Monitor Pricing page](https://azure.microsoft.com/pricing/details/monitor/). Stay up-to-date on variable retention progress by [voting for this suggestion](https://feedback.azure.com/forums/357324-azure-monitor-application-insights/suggestions/17454031).
169
-
170
182
## Data transfer charges using Application Insights
171
183
172
184
Sending data to Application Insights might incur data bandwidth charges. As described in the [Azure Bandwidth pricing page](https://azure.microsoft.com/pricing/details/bandwidth/), data transfer between Azure services located in two regions charged as outbound data transfer at the normal rate. Inbound data transfer is free. However, this charge is very small (few %) compared to the costs for Application Insights log data ingestion. Consequently controlling costs for Log Analytics needs to focus on your ingested data volume, and we have guidance to help understand that [here](https://docs.microsoft.com/azure/azure-monitor/app/pricing#managing-your-data-volume).
@@ -244,4 +256,5 @@ You can write a script to set the pricing tier by using Azure Resource Managemen
0 commit comments