-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
The goal is to collect metrics about AdminNetworkPolicy and BaselineAdminNetworkPolicy CRDs because its essentially to understand how the users are using this feature and in fact if they are using it OR not. This is required for 4.16 Feature https://issues.redhat.com/browse/SDN-4157 and hoping to get approval and PRs merged before the code freeze time frame for 4.16 (April 26th 2024)
admin_network_policy_total
admin_network_policy_total represents the total number of admin network policies in the cluster
Labels: None
See https://github.com/ovn-org/ovn-kubernetes/pull/4239 for more information
Cardinality of the metric is at most 1.
baseline_admin_network_policy_total
baseline_admin_network_policy_total represents the total number of baseline admin network policies in the cluster (0 or 1)
Labels: None
See https://github.com/ovn-org/ovn-kubernetes/pull/4239 for more information
Cardinality of the metric is at most 1.
We don't need the above two anymore because we have https://redhat-internal.slack.com/archives/C0VMT03S5/p1712567951869459?thread_ts=1712346681.157809&cid=C0VMT03S5
Instead of that we are adding two other metrics for rule count: (https://issues.redhat.com/browse/MON-3828 )
admin_network_policy_db_objects_total
admin_network_policy_db_objects_total represents the total number of OVN NBDB objects (table_name) owned by AdminNetworkPolicy controller in the cluster
{{Labels: }}
- table_name, possible values are "ACL" and "AddressSet" (In future "Port_Group")
See https://github.com/ovn-org/ovn-kubernetes/pull/4254 for more information
Cardinality of the metric is at most 3.
baseline_admin_network_policy_db_objects_total
baseline_admin_network_policy_db_objects_total represents the total number of OVN NBDB objects (table_name) owned by BaselineAdminNetworkPolicy controller in the cluster
{{Labels: }}
- table_name, possible values are "ACL" and "AddressSet" (In future "Port_Group")
See https://github.com/ovn-org/ovn-kubernetes/pull/4254 for more information
Cardinality of the metric is at most 3.
- is cloned by
-
MON-3828 Request for sending data via telemetry for feature AdminNetworkPolicy: Part2
-
- To Do
-
- links to