Skip to content

Commit ba74fcd

Browse files
authored
Merge pull request #95578 from gwynnemonahan/mancual-cp-4-14-no-1-9-OSDOCS-14941
[enterprise-4.14] OSDOCS-14941 [NETOBSERV] Update API/CLI references
2 parents 62c2a5b + 8e02c55 commit ba74fcd

3 files changed

+29
-29
lines changed

modules/network-observability-flowcollector-api-specifications.adoc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Type::
180180
| `object`
181181
| `advanced` allows setting some aspects of the internal configuration of the eBPF agent.
182182
This section is aimed mostly for debugging and fine-grained performance optimizations,
183-
such as `GOGC` and `GOMAXPROCS` environment vars. Set these values at your own risk. You can also
183+
such as `GOGC` and `GOMAXPROCS` environment variables. Set these values at your own risk. You can also
184184
override the default Linux capabilities from there.
185185

186186
| `cacheActiveTimeout`
@@ -206,14 +206,15 @@ Otherwise it is matched as a case-sensitive string.
206206
| List of additional features to enable. They are all disabled by default. Enabling additional features might have performance impacts. Possible values are: +
207207

208208
- `PacketDrop`: Enable the packets drop flows logging feature. This feature requires mounting
209-
the kernel debug filesystem, so the eBPF agent pods must run as privileged via `spec.agent.ebpf.privileged`. +
209+
the kernel debug filesystem, so the eBPF agent pods must run as privileged.
210+
If the `spec.agent.ebpf.privileged` parameter is not set, an error is reported. +
210211
211212
- `DNSTracking`: Enable the DNS tracking feature. +
212213
213214
- `FlowRTT`: Enable flow latency (sRTT) extraction in the eBPF agent from TCP traffic. +
214215
215216
- `NetworkEvents`: Enable the network events monitoring feature, such as correlating flows and network policies.
216-
This feature requires mounting the kernel debug filesystem, so the eBPF agent pods must run as privileged via `spec.agent.ebpf.privileged`.
217+
This feature requires mounting the kernel debug filesystem, so the eBPF agent pods must run as privileged.
217218
It requires using the OVN-Kubernetes network plugin with the Observability feature.
218219
IMPORTANT: This feature is available as a Technology Preview. +
219220
@@ -223,7 +224,7 @@ IMPORTANT: This feature is available as a Technology Preview. +
223224
224225
- `UDNMapping`: Enable interfaces mapping to User Defined Networks (UDN). +
225226
226-
This feature requires mounting the kernel debug filesystem, so the eBPF agent pods must run as privileged via `spec.agent.ebpf.privileged`.
227+
This feature requires mounting the kernel debug filesystem, so the eBPF agent pods must run as privileged.
227228
It requires using the OVN-Kubernetes network plugin with the Observability feature. +
228229
229230
- `IPSec`, to track flows between nodes with IPsec encryption. +
@@ -280,7 +281,7 @@ Description::
280281
--
281282
`advanced` allows setting some aspects of the internal configuration of the eBPF agent.
282283
This section is aimed mostly for debugging and fine-grained performance optimizations,
283-
such as `GOGC` and `GOMAXPROCS` environment vars. Set these values at your own risk. You can also
284+
such as `GOGC` and `GOMAXPROCS` environment variables. Set these values at your own risk. You can also
284285
override the default Linux capabilities from there.
285286
--
286287
@@ -800,7 +801,7 @@ Type::
800801
| `object`
801802
| `advanced` allows setting some aspects of the internal configuration of the console plugin.
802803
This section is aimed mostly for debugging and fine-grained performance optimizations,
803-
such as `GOGC` and `GOMAXPROCS` environment vars. Set these values at your own risk.
804+
such as `GOGC` and `GOMAXPROCS` environment variables. Set these values at your own risk.
804805

805806
| `autoscaler`
806807
| `object`
@@ -842,7 +843,7 @@ Description::
842843
--
843844
`advanced` allows setting some aspects of the internal configuration of the console plugin.
844845
This section is aimed mostly for debugging and fine-grained performance optimizations,
845-
such as `GOGC` and `GOMAXPROCS` environment vars. Set these values at your own risk.
846+
such as `GOGC` and `GOMAXPROCS` environment variables. Set these values at your own risk.
846847
--
847848

848849
Type::
@@ -2702,7 +2703,7 @@ This feature requires the "topology.kubernetes.io/zone" label to be set on nodes
27022703
| `object`
27032704
| `advanced` allows setting some aspects of the internal configuration of the flow processor.
27042705
This section is aimed mostly for debugging and fine-grained performance optimizations,
2705-
such as `GOGC` and `GOMAXPROCS` environment vars. Set these values at your own risk.
2706+
such as `GOGC` and `GOMAXPROCS` environment variables. Set these values at your own risk.
27062707

27072708
| `clusterName`
27082709
| `string`
@@ -2782,7 +2783,7 @@ Description::
27822783
--
27832784
`advanced` allows setting some aspects of the internal configuration of the flow processor.
27842785
This section is aimed mostly for debugging and fine-grained performance optimizations,
2785-
such as `GOGC` and `GOMAXPROCS` environment vars. Set these values at your own risk.
2786+
such as `GOGC` and `GOMAXPROCS` environment variables. Set these values at your own risk.
27862787
--
27872788

27882789
Type::

modules/network-observability-flowmetric-api-specifications.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,12 @@ When set to `Egress`, it is equivalent to adding the regular expression filter o
103103

104104
| `filters`
105105
| `array`
106-
| `filters` is a list of fields and values used to restrict which flows are taken into account. Oftentimes, these filters must
107-
be used to eliminate duplicates: `Duplicate != "true"` and `FlowDirection = "0"`.
106+
| `filters` is a list of fields and values used to restrict which flows are taken into account.
108107
Refer to the documentation for the list of available fields: https://docs.openshift.com/container-platform/latest/observability/network_observability/json-flows-format-reference.html.
109108

110109
| `flatten`
111110
| `array (string)`
112-
| `flatten` is a list of list-type fields that must be flattened, such as Interfaces and NetworkEvents. Flattened fields generate one metric per item in that field.
111+
| `flatten` is a list of array-type fields that must be flattened, such as Interfaces or NetworkEvents. Flattened fields generate one metric per item in that field.
113112
For instance, when flattening `Interfaces` on a bytes counter, a flow having Interfaces [br-ex, ens5] increases one counter for `br-ex` and another for `ens5`.
114113

115114
| `labels`
@@ -131,9 +130,10 @@ Refer to the documentation for the list of available fields: https://docs.opensh
131130

132131
| `type`
133132
| `string`
134-
| Metric type: "Counter" or "Histogram".
133+
| Metric type: "Counter", "Histogram" or "Gauge".
135134
Use "Counter" for any value that increases over time and on which you can compute a rate, such as Bytes or Packets.
136135
Use "Histogram" for any value that must be sampled independently, such as latencies.
136+
Use "Gauge" for other values that don't necessitate accuracy over time (gauges are sampled only every N seconds when Prometheus fetches the metric).
137137

138138
| `valueField`
139139
| `string`
@@ -261,8 +261,7 @@ To learn more about `promQL`, refer to the Prometheus documentation: https://pro
261261
Description::
262262
+
263263
--
264-
`filters` is a list of fields and values used to restrict which flows are taken into account. Oftentimes, these filters must
265-
be used to eliminate duplicates: `Duplicate != "true"` and `FlowDirection = "0"`.
264+
`filters` is a list of fields and values used to restrict which flows are taken into account.
266265
Refer to the documentation for the list of available fields: https://docs.openshift.com/container-platform/latest/observability/network_observability/json-flows-format-reference.html.
267266
--
268267

modules/network-observability-flows-format.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,6 @@ The "Cardinality" column gives information about the implied metric cardinality
155155
| no
156156
| fine
157157
| n/a
158-
| `Duplicate`
159-
| boolean
160-
| Indicates if this flow was also captured from another interface on the same host
161-
| n/a
162-
| no
163-
| fine
164-
| n/a
165158
| `Flags`
166159
| string[]
167160
| List of TCP flags comprised in the flow, according to RFC-9293, with additional custom flags to represent the following per-packet combinations: +
@@ -182,6 +175,13 @@ The "Cardinality" column gives information about the implied metric cardinality
182175
| yes
183176
| fine
184177
| host.direction
178+
| `IPSecStatus`
179+
| string
180+
| Status of the IPsec encryption (on egress, given by the kernel xfrm_output function) or decryption (on ingress, via xfrm_input)
181+
| `ipsec_status`
182+
| no
183+
| fine
184+
| n/a
185185
| `IcmpCode`
186186
| number
187187
| ICMP code
@@ -242,7 +242,7 @@ The "Cardinality" column gives information about the implied metric cardinality
242242
| `Packets`
243243
| number
244244
| Number of packets
245-
| `pkt_drop_cause`
245+
| n/a
246246
| no
247247
| avoid
248248
| packets
@@ -423,35 +423,35 @@ The "Cardinality" column gives information about the implied metric cardinality
423423
| n/a
424424
| `XlatDstAddr`
425425
| string
426-
| Packet translation destination address
426+
| packet translation destination address
427427
| `xlat_dst_address`
428428
| no
429429
| avoid
430430
| n/a
431431
| `XlatDstPort`
432432
| number
433-
| Packet translation destination port
433+
| packet translation destination port
434434
| `xlat_dst_port`
435435
| no
436436
| careful
437437
| n/a
438438
| `XlatSrcAddr`
439439
| string
440-
| Packet translation source address
440+
| packet translation source address
441441
| `xlat_src_address`
442442
| no
443443
| avoid
444444
| n/a
445445
| `XlatSrcPort`
446446
| number
447-
| Packet translation source port
447+
| packet translation source port
448448
| `xlat_src_port`
449449
| no
450450
| careful
451451
| n/a
452452
| `ZoneId`
453453
| number
454-
| Packet translation zone id
454+
| packet translation zone id
455455
| `xlat_zone_id`
456456
| no
457457
| avoid
@@ -470,4 +470,4 @@ The "Cardinality" column gives information about the implied metric cardinality
470470
| yes
471471
| fine
472472
| n/a
473-
|===
473+
|===

0 commit comments

Comments
 (0)