|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * list of assemblies where this module is included: |
| 4 | +// networking/network_security/AdminNetworkPolicy/nw-ovn-k-anp-banp-metric.adoc |
| 5 | + |
| 6 | +:_mod-docs-content-type: CONCEPT |
| 7 | +[id="anp-banp-metrics_{context}"] |
| 8 | += Metrics for AdminNetworkPolicy |
| 9 | + |
| 10 | +[cols="1,1a,1"] |
| 11 | +|=== |
| 12 | +| Name | Description |Explanation |
| 13 | + |
| 14 | +|`ovnkube_controller_admin_network_policies` |
| 15 | +|Not applicable |
| 16 | +|The total number of `AdminNetworkPolicy` resources in the cluster. |
| 17 | + |
| 18 | +|`ovnkube_controller_baseline_admin_network_policies` |
| 19 | +|Not applicable |
| 20 | +|The total number of `BaselineAdminNetworkPolicy` resources in the cluster. The value should be 0 or 1. |
| 21 | + |
| 22 | +|`ovnkube_controller_admin_network_policies_rules` |
| 23 | +|* `direction`: specifies either `Ingress` or `Egress`. |
| 24 | +* `action`: specifies either `Pass`, `Allow`, or `Deny`. |
| 25 | +|The total number of rules across all ANP policies in the cluster grouped by `direction` and `action`. |
| 26 | + |
| 27 | +|`ovnkube_controller_baseline_admin_network_policies_rules` |
| 28 | +|* `direction`: specifies either `Ingress` or `Egress`. |
| 29 | +* `action`: specifies either `Allow` or `Deny`. |
| 30 | +|The total number of rules across all BANP policies in the cluster grouped by `direction` and `action`. |
| 31 | + |
| 32 | +|`ovnkube_controller_admin_network_policies_db_objects` |
| 33 | +|`table_name`: specifies either `ACL` or `Address_Set` |
| 34 | +|The total number of OVN Northbound database (nbdb) objects that are created by all the ANP in the cluster grouped by the `table_name`. |
| 35 | + |
| 36 | +|`ovnkube_controller_baseline_admin_network_policies_db_objects` |
| 37 | +|`table_name`: specifies either `ACL` or `Address_Set` |
| 38 | +|The total number of OVN Northbound database (nbdb) objects that are created by all the BANP in the cluster grouped by the `table_name`. |
| 39 | +|=== |
0 commit comments