This topic describes the metrics of Web Application Firewall (WAF).

When you call an API operation provided by Cloud Monitor, you may need to set the Namespace and Period parameters. Set the parameters for the current service in the following way:

  • Set the Namespace parameter to waf.
  • Set the Period parameter to an integral multiple of 60s. The default value is 60s.

The following table describes the valid values of the MetricName and Dimensions parameters for the current service.

Metric Unit MetricName Dimensions Statistics
4XX_ratio % 4XX_ratio userId, instanceId, and domain Maximum
5XX_ratio % 5XX_ratio userId, instanceId, and domain Maximum
acl_blocks_5m Count acl_blocks_5m userId, instanceId, and domain Maximum
acl_rate_5m % acl_rate_5m userId, instanceId, and domain Maximum
cc_blocks_5m Count cc_blocks_5m userId, instanceId, and domain Maximum
cc_rate_5m % cc_rate_5m userId, instanceId, and domain Maximum
QPS CountS qps userId, instanceId, and domain Maximum
qps_ratio % qps_ratio userId, instanceId, and domain Maximum
qps_ratio_down % qps_ratio_down userId, instanceId, and domain Maximum
waf_blocks_5m Count waf_blocks_5m userId, instanceId, and domain Maximum
waf_rate_5m % waf_rate_5m userId, instanceId, and domain Maximum