Skip to content

Commit edd785c

Browse files
committed
pricing doc updates from Dale
1 parent 0910c37 commit edd785c

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

articles/azure-monitor/app/pricing.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@ Azure provides a great deal of useful functionality in the [Azure Cost Managemen
6969
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).
7070
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).
7171

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:
7375

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.
7579

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:
7981

8082
```kusto
8183
systemEvents
@@ -86,8 +88,21 @@ systemEvents
8688
| summarize sum(BillingTelemetrySizeInBytes)
8789
```
8890

91+
Or to see a chart of data volume by data type for the last 30 days, you can use:
92+
93+
```kusto
94+
systemEvents
95+
| where timestamp >= ago(30d)
96+
| where type == "Billing"
97+
| extend BillingTelemetryType = tostring(dimensions["BillingTelemetryType"])
98+
| extend BillingTelemetrySizeInBytes = todouble(measurements["BillingTelemetrySize"])
99+
| summarize sum(BillingTelemetrySizeInBytes) by BillingTelemetryType, bin(timestamp, 1d) | render barchart
100+
```
101+
89102
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.
90103

104+
## Managing your data volume
105+
91106
The volume of data you send can be managed using the following techniques:
92107

93108
* **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
164179

165180
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.
166181

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-
170182
## Data transfer charges using Application Insights
171183

172184
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
244256
[api]: app-insights-api-custom-events-metrics.md
245257
[apiproperties]: app-insights-api-custom-events-metrics.md#properties
246258
[start]: ../../azure-monitor/app/app-insights-overview.md
259+
[pricing]: https://azure.microsoft.com/pricing/details/application-insights/
247260
[pricing]: https://azure.microsoft.com/pricing/details/application-insights/

0 commit comments

Comments
 (0)