You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/network-observability-flowcollector-api-specifications.adoc
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -180,7 +180,7 @@ Type::
180
180
| `object`
181
181
| `advanced` allows setting some aspects of the internal configuration of the eBPF agent.
182
182
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
184
184
override the default Linux capabilities from there.
185
185
186
186
| `cacheActiveTimeout`
@@ -206,14 +206,15 @@ Otherwise it is matched as a case-sensitive string.
206
206
| List of additional features to enable. They are all disabled by default. Enabling additional features might have performance impacts. Possible values are: +
207
207
208
208
- `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. +
210
211
211
212
- `DNSTracking`: Enable the DNS tracking feature. +
212
213
213
214
- `FlowRTT`: Enable flow latency (sRTT) extraction in the eBPF agent from TCP traffic. +
214
215
215
216
- `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.
217
218
It requires using the OVN-Kubernetes network plugin with the Observability feature.
218
219
IMPORTANT: This feature is available as a Technology Preview. +
219
220
@@ -223,7 +224,7 @@ IMPORTANT: This feature is available as a Technology Preview. +
223
224
224
225
- `UDNMapping`: Enable interfaces mapping to User Defined Networks (UDN). +
225
226
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.
227
228
It requires using the OVN-Kubernetes network plugin with the Observability feature. +
228
229
229
230
- `IPSec`, to track flows between nodes with IPsec encryption. +
@@ -280,7 +281,7 @@ Description::
280
281
--
281
282
`advanced` allows setting some aspects of the internal configuration of the eBPF agent.
282
283
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
284
285
override the default Linux capabilities from there.
285
286
--
286
287
@@ -800,7 +801,7 @@ Type::
800
801
| `object`
801
802
| `advanced` allows setting some aspects of the internal configuration of the console plugin.
802
803
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.
804
805
805
806
| `autoscaler`
806
807
| `object`
@@ -842,7 +843,7 @@ Description::
842
843
--
843
844
`advanced` allows setting some aspects of the internal configuration of the console plugin.
844
845
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.
846
847
--
847
848
848
849
Type::
@@ -2702,7 +2703,7 @@ This feature requires the "topology.kubernetes.io/zone" label to be set on nodes
2702
2703
| `object`
2703
2704
| `advanced` allows setting some aspects of the internal configuration of the flow processor.
2704
2705
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.
2706
2707
2707
2708
| `clusterName`
2708
2709
| `string`
@@ -2782,7 +2783,7 @@ Description::
2782
2783
--
2783
2784
`advanced` allows setting some aspects of the internal configuration of the flow processor.
2784
2785
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.
Copy file name to clipboardExpand all lines: modules/network-observability-flowmetric-api-specifications.adoc
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -103,13 +103,12 @@ When set to `Egress`, it is equivalent to adding the regular expression filter o
103
103
104
104
| `filters`
105
105
| `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.
108
107
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.
109
108
110
109
| `flatten`
111
110
| `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.
113
112
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`.
114
113
115
114
| `labels`
@@ -131,9 +130,10 @@ Refer to the documentation for the list of available fields: https://docs.opensh
131
130
132
131
| `type`
133
132
| `string`
134
-
| Metric type: "Counter"or "Histogram".
133
+
| Metric type: "Counter", "Histogram" or "Gauge".
135
134
Use "Counter" for any value that increases over time and on which you can compute a rate, such as Bytes or Packets.
136
135
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).
137
137
138
138
| `valueField`
139
139
| `string`
@@ -261,8 +261,7 @@ To learn more about `promQL`, refer to the Prometheus documentation: https://pro
261
261
Description::
262
262
+
263
263
--
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.
266
265
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.
0 commit comments