Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
Wrt your queries,
1.Currently I need to monitor the app gateway(WAF V2 & Standard V2 skus) based on following categories : Performance limit, Utilization limit, Compute Units using the application gateway Metrics available in Azure Monitor.
2.Does the instance count impacts the performance or utilization or compute metrics?
- Instance count impacts performance in case there is a load on the App gateway and the number of instances are unable to keep up with the Load.
- Refer to "Autoscaling" in Autoscaling and High Availability
- You can refer to this document to understand how to Tune the Application gateway upper and lower instance count limit based on your application's load
- NOTE : The instance count does not affect metric collection.
3.Is there any limit on the count of "capacity units" consumed to load balance the traffic? How to identify the maximum count of capacity units and the compute units?
- Capacity units and Compute Units are not something the customer is expected to configure and worry about
- Your focus should be on "Instance Count"
- Details on how the Instance Count is related to Capacity unit and Compute Unit is documented here.
- With that said, the limit on the maximum Instance Count is defined as 125.
- Theoretical max capacity units : Each instance guarantees a minimum of 10 capacity units in terms of processing capability. So the max would be 125*10 = 1250 units.
4.Is there any limit of "Current connections" of the gateway based on the type of SKU?
- Again, the max Instance count is 125. Each instance guarantees a minimum of 10 capacity units in terms of processing capability. A Capacity Unit can support 2500 Persistent connections.
- So, theoretically, the max would be 125102500 Persistent connections.
- I couldn't find the upper limit for v1 SKU. If you are interested with v1 SKU, I can check internally.
- However, you must note that you are charged for "Capacity Unit" of v2 SKU.
5.How to identify the no. of concurrent connections of the gateway?
- You can use the metric "Current connections" from Application Gateway metrics
-
6.If any of the metric reaches threshold value need to notify an alert is needed or not?
- Various use cases are covered in Alerts for Application Gateway v2 SKU (Standard_v2/WAF_v2).
- Following the metrics listed here should do the trick.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.