Hi @Mora
This difference happens because the 'Data Out' metric is calculated in various ways in the Azure Portal based on context and default settings, rather than due to any limitation of the App Service Plan in displaying total volume.
Web App "Data Out"
- Tracks the total outbound bytes sent by your app, including HTTP responses, API calls, and file downloads.
- Uses Total (Sum) as the default aggregation, displaying the cumulative volume (e.g., 50 GB).
- Provides accurate data for app-specific traffic and billing purposes.
App Service Plan "Data Out"
- Measures outbound bandwidth at the VM infrastructure level across all instances.
- Offers both Total and Average aggregations:
- Total shows the full sum across all instances (matches Web App in single-instance scenarios).
- Average displays bytes per instance per time interval (often the default chart view).
- The metric description mentions "average" because it's the default view, but you can switch to Total.
Why You See 50 GB vs 150 MB
- The Web App metric uses Total aggregation, resulting in 50 GB.
- The App Service Plan metric likely uses Average aggregation, showing about 150 MB per 1-minute sample.
- Switching the Plan metric to Total should display around 50 GB, with minor differences due to overhead.
Actionable Advice
- In Azure Portal Metrics:
- Navigate to the metrics for both the Web App and the App Service Plan.
- Ensure that Aggregation is set to Total (Sum) for each.
- Review and compare the results side by side.
- Please utilize Web App 'Data Out' (Total) for the following purposes:
- Obtaining precise application traffic volume
- Estimating billing amounts
- Receiving alerts regarding application behavior
- Please utilize Plan 'Data Out' (Total) for the following purposes:
- Aggregating egress data across applications
- Conducting capacity planning
- Please ensure that you do not compare Total (Web App) with Average (Plan); it is important to consistently align aggregation types for accurate analysis.
Reference:
https://dori-uw-1.kuma-moon.com/en-us/azure/azure-monitor/metrics/metrics-aggregation-explained
Let us know if the above helps or you need further assistance on this issue.
Please "upvote" if the information helped you. This will help us and others in the community as well.