Skip to content

Commit 8fe0331

Browse files
committed
metrics
1 parent 0dc6222 commit 8fe0331

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

modules/nw-anp-banp-metrics.adoc

Whitespace-only changes.

networking/nw-anp-banp-metrics.adoc

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * list of assemblies where this module is included:
4+
// networking/openshift_network_security/adminnetworkpolicy
5+
6+
:_mod-docs-content-type: CONCEPT
7+
[id="anp-banp-metrics_{context}"]
8+
= AdminNetworkPolicy and BaselineAdminNetworkPolicy metrics
9+
10+
[cols="1,1,1"]
11+
|===
12+
| Name |labels/action |Explanation
13+
14+
|`admin_network_policy_custom_resource_total`
15+
|Not applicable
16+
|The total number of `AdminNetworkPolicy` in the cluster.
17+
18+
|`baseline_admin_network_policy_custom_resource_total`
19+
|Not applicable
20+
|The total number of `BaselineAdminNetworkPolicy` in the cluster. Values should be 0 or 1.
21+
22+
|`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 `AdminNetworkPolicy` in the cluster
26+
27+
|`baseline_admin_network_policies_rules`
28+
|*`direction`: specifies either ingress or egress.
29+
* `action`: specifies either `pass or `deny`.
30+
|The total number of rules across all `BaselineAdminNetworkPolicy` in the cluster
31+
32+
|
33+
|
34+
|
35+
36+
|===
37+
38+
[cols="1,1,1"]
39+
|===
40+
|Cell in column 1, header row |Cell in column 2, header row | cell in column 3
41+
42+
|Cell in column 1, row 2
43+
|Cell in column 2, row 2
44+
45+
|Cell in column 1, row 3
46+
|Cell in column 2, row 3
47+
48+
|Cell in column 1, row 4
49+
|Cell in column 2, row 4
50+
|===

0 commit comments

Comments
 (0)