Skip to content

Commit 02ef804

Browse files
committed
no-1.5 integration with main
no-1.5 integration with main OSDOCS-7593: Netobserv RTT OSDOCS-8465: Updates to Network Traffic Overview OSDOCS-8253: Improved LokiStack integration OSDOCS-8253: API version updates Dashboard enhancements for lokiless use OCPBUGS-22397: clarify netobserv network policy OSDOCS-9419: Adding zones to Overview Re-adding removed RTT overview info OSDOCS-8701: Update resource considerations table Network Observability API documentation updates Update to JSON flows format Network Observability 1.5 release notes no-1.5 integration with main
1 parent 4902ae0 commit 02ef804

File tree

35 files changed

+1320
-735
lines changed

35 files changed

+1320
-735
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2857,6 +2857,8 @@ Topics:
28572857
File: network-observability-network-policy
28582858
- Name: Observing the network traffic
28592859
File: observing-network-traffic
2860+
- Name: Using metrics with dashboards and alerts
2861+
File: metrics-alerts-dashboards
28602862
- Name: Monitoring the Network Observability Operator
28612863
File: network-observability-operator-monitoring
28622864
- Name: API reference
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Module included in the following assemblies:
2+
//
3+
// network_observability/observing-network-traffic.adoc
4+
5+
:_mod-docs-content-type: CONCEPT
6+
[id="network-observability-RTT-overview_{context}"]
7+
= Round-Trip Time
8+
You can use TCP handshake Round-Trip Time (RTT) to analyze network flows. You can use RTT captured from the `fentry/tcp_rcv_established` eBPF hookpoint to read SRTT from the TCP socket to help with the following:
9+
10+
11+
* Network Monitoring: Gain insights into TCP handshakes, helping
12+
network administrators identify unusual patterns, potential bottlenecks, or
13+
performance issues.
14+
* Troubleshooting: Debug TCP-related issues by tracking latency and identifying
15+
misconfigurations.
16+
17+
By default, when RTT is enabled, you can see the following TCP handshake RTT metrics represented in the *Overview*:
18+
19+
* Top X 90th percentile TCP handshake Round Trip Time with overall
20+
* Top X average TCP handshake Round Trip Time with overall
21+
* Bottom X minimum TCP handshake Round Trip Time with overall
22+
23+
Other RTT panels can be added in *Manage panels*:
24+
25+
* Top X maximum TCP handshake Round Trip Time with overall
26+
* Top X 99th percentile TCP handshake Round Trip Time with overall
27+
28+
See the _Additional Resources_ in this section for more information about enabling and working with this view.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * network_observability/observing-network-traffic.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="network-observability-RTT_{context}"]
7+
= Working with RTT tracing
8+
You can track RTT by editing the `FlowCollector` to the specifications in the following YAML example.
9+
10+
.Procedure
11+
. In the web console, navigate to *Operators* -> *Installed Operators*.
12+
. In the *Provided APIs* heading for the *NetObserv Operator*, select *Flow Collector*.
13+
. Select *cluster*, and then select the *YAML* tab.
14+
. Configure the `FlowCollector` custom resource for RTT tracing, for example:
15+
+
16+
[id="network-observability-flowcollector-configuring-RTT_{context}"]
17+
.Example `FlowCollector` configuration
18+
[source, yaml]
19+
----
20+
apiVersion: flows.netobserv.io/v1beta2
21+
kind: FlowCollector
22+
metadata:
23+
name: cluster
24+
spec:
25+
namespace: netobserv
26+
deploymentModel: Direct
27+
agent:
28+
type: eBPF
29+
ebpf:
30+
features:
31+
- FlowRTT <1>
32+
----
33+
<1> You can start tracing RTT network flows by listing the `FlowRTT` parameter in the `spec.agent.ebpf.features` specification list.
34+
35+
.Verification
36+
When you refresh the *Network Traffic* page, the *Overview*, *Traffic Flow*, and *Topology* views display new information about RTT:
37+
38+
.. In the *Overview*, select new choices in *Manage panels* to choose which graphical visualizations of RTT to display.
39+
.. In the *Traffic flows* table, the *Flow RTT* column can be seen, and you can manage display in *Manage columns*.
40+
.. In the *Traffic Flows* view, you can also expand the side panel to view more information about RTT.
41+
+
42+
.Example filtering
43+
... Click the *Common* filters -> *Protocol*.
44+
... Filter the network flow data based on *TCP*, *Ingress* direction, and look for *FlowRTT* values greater than 10,000,000 nanoseconds (10ms).
45+
... Remove the *Protocol* filter.
46+
... Filter for *Flow RTT* values greater than 0 in the *Common* filters.
47+
48+
.. In the *Topology* view, click the Display option dropdown. Then click *RTT* in the *edge labels* drop-down list.

modules/network-observability-SRIOV-configuration.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,19 @@ In order to collect traffic from a cluster with a Single Root I/O Virtualization
1616
. Under the *Provided APIs* heading for the *NetObserv Operator*, select *Flow Collector*.
1717
. Select *cluster* and then select the *YAML* tab.
1818
. Configure the `FlowCollector` custom resource. A sample configuration is as follows:
19-
+
20-
[id="network-observability-flowcollector-configuring-SRIOV-monitoring{context}"]
19+
2120
.Configure `FlowCollector` for SR-IOV monitoring
2221
[source,yaml]
2322
----
24-
apiVersion: flows.netobserv.io/v1alpha1
23+
apiVersion: flows.netobserv.io/v1beta2
2524
kind: FlowCollector
2625
metadata:
2726
name: cluster
2827
spec:
2928
namespace: netobserv
30-
deploymentModel: DIRECT
29+
deploymentModel: Direct
3130
agent:
32-
type: EBPF
31+
type: eBPF
3332
ebpf:
3433
privileged: true <1>
3534
----

modules/network-observability-auth-multi-tenancy.adoc

Lines changed: 0 additions & 17 deletions
This file was deleted.

modules/network-observability-configuring-options-overview.adoc

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,23 @@
55
:_mod-docs-content-type: REFERENCE
66
[id="network-observability-configuring-options-overview_{context}"]
77
= Configuring advanced options for the Overview view
8-
You can customize the graphical view by using advanced options. To access the advanced options, click *Show advanced options*.You can configure the details in the graph by using the *Display options* drop-down menu. The options available are:
8+
You can customize the graphical view by using advanced options. To access the advanced options, click *Show advanced options*. You can configure the details in the graph by using the *Display options* drop-down menu. The options available are as follows:
99

10-
* *Metric type*: The metrics to be shown in *Bytes* or *Packets*. The default value is *Bytes*.
11-
* *Scope*: To select the detail of components between which the network traffic flows. You can set the scope to *Node*, *Namespace*, *Owner*, or *Resource*. *Owner* is an aggregation of resources. *Resource* can be a pod, service, node, in case of host-network traffic, or an unknown IP address. The default value is *Namespace*.
10+
* *Scope*: Select to view the components that network traffic flows between. You can set the scope to *Node*, *Namespace*, *Owner*, *Zones*, *Cluster* or *Resource*. *Owner* is an aggregation of resources. *Resource* can be a pod, service, node, in case of host-network traffic, or an unknown IP address. The default value is *Namespace*.
1211
* *Truncate labels*: Select the required width of the label from the drop-down list. The default value is *M*.
1312
1413
[id="network-observability-cao-managing-panels-overview_{context}"]
15-
== Managing panels
16-
You can select the required statistics to be displayed, and reorder them. To manage columns, click *Manage panels*.
14+
== Managing panels and display
15+
You can select the required panels to be displayed, reorder them, and focus on a specific panel. To add or remove panels, click *Manage panels*.
16+
17+
The following panels are shown by default:
18+
19+
* *Top X average bytes rates*
20+
* *Top X bytes rates stacked with total*
21+
22+
Other panels can be added in *Manage panels*:
23+
24+
* *Top X average packets rates*
25+
* *Top X packets rates stacked with total*
26+
27+
*Query options* allows you to choose whether to show the *Top 5*, *Top 10*, or *Top 15* rates.

modules/network-observability-configuring-options-topology.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ You can customize and export the view by using *Show advanced options*. The adva
1010
* *Find in view*: To search the required components in the view.
1111
* *Display options*: To configure the following options:
1212
+
13-
** *Layout*: To select the layout of the graphical representation. The default value is *ColaNoForce*.
13+
** *Edge labels*: To show the specified measurements as edge labels. The default is to show the *Average rate* in *Bytes*.
1414
** *Scope*: To select the scope of components between which the network traffic flows. The default value is *Namespace*.
15-
** *Groups*: To enchance the understanding of ownership by grouping the components. The default value is *None*.
16-
** *Collapse groups*: To expand or collapse the groups. The groups are expanded by default. This option is disabled if *Groups* has value *None*.
15+
** *Groups*: To enhance the understanding of ownership by grouping the components. The default value is *None*.
16+
17+
** *Layout*: To select the layout of the graphical representation. The default value is *ColaNoForce*.
1718
** *Show*: To select the details that need to be displayed. All the options are checked by default. The options available are: *Edges*, *Edges label*, and *Badges*.
1819
** *Truncate labels*: To select the required width of the label from the drop-down list. The default value is *M*.
20+
** *Collapse groups*: To expand or collapse the groups. The groups are expanded by default. This option is disabled if *Groups* has the value of *None*.
1921

2022
[id="network-observability-cao-export-topology_{context}"]
2123
== Exporting the topology view

modules/network-observability-disabling-health-alerts.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ You can opt out of health alerting by editing the `FlowCollector` resource:
1111
. Under the *Provided APIs* heading for the *NetObserv Operator*, select *Flow Collector*.
1212
. Select *cluster* then select the *YAML* tab.
1313
. Add `spec.processor.metrics.disableAlerts` to disable health alerts, as in the following YAML sample:
14+
+
1415
[source,yaml]
1516
----
16-
apiVersion: flows.netobserv.io/v1alpha1
17+
apiVersion: flows.netobserv.io/v1beta2
1718
kind: FlowCollector
1819
metadata:
1920
name: cluster

modules/network-observability-dns-overview.adoc

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,18 @@ You can configure graphical representation of Domain Name System (DNS) tracking
1313
1414
* Troubleshooting: Debug DNS-related issues by tracing DNS resolution steps, tracking latency, and identifying misconfigurations.
1515
16-
When DNS tracking is enabled, you can see the following metrics represented in a chart in the *Overview*. See the _Additional Resources_ in this section for more information about enabling and working with this view.
16+
By default, when DNS tracking is enabled, you can see the following non-empty metrics represented in a donut or line chart in the *Overview*:
1717

18-
* Top 5 average DNS latencies
19-
* Top 5 DNS response code
20-
* Top 5 DNS response code stacked with total
18+
* Top X DNS Response Code
19+
* Top X average DNS latencies with overall
20+
* Top X 90th percentile DNS latencies
2121
22-
This feature is supported for IPv4 and IPv6 UDP protocol.
22+
Other DNS tracking panels can be added in *Manage panels*:
23+
24+
* Bottom X minimum DNS latencies
25+
* Top X maximum DNS latencies
26+
* Top X 99th percentile DNS latencies
27+
28+
This feature is supported for IPv4 and IPv6 UDP and TCP protocols.
29+
30+
See the _Additional Resources_ in this section for more information about enabling and working with this view.

modules/network-observability-dns-tracking.adoc

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,37 @@ CPU and memory usage increases are observed in the eBPF agent when this feature
1313
====
1414
.Procedure
1515
. In the web console, navigate to *Operators* -> *Installed Operators*.
16-
. Under the *Provided APIs* heading for the *NetObserv Operator*, select *Flow Collector*.
16+
. Under the *Provided APIs* heading for *Network Observability*, select *Flow Collector*.
1717
. Select *cluster* then select the *YAML* tab.
1818
. Configure the `FlowCollector` custom resource. A sample configuration is as follows:
1919
+
2020
[id="network-observability-flowcollector-configuring-dns_{context}"]
2121
.Configure `FlowCollector` for DNS tracking
2222
[source, yaml]
2323
----
24-
apiVersion: flows.netobserv.io/v1alpha1
24+
apiVersion: flows.netobserv.io/v1beta2
2525
kind: FlowCollector
2626
metadata:
2727
name: cluster
2828
spec:
2929
namespace: netobserv
30-
deploymentModel: DIRECT
30+
deploymentModel: Direct
3131
agent:
32-
type: EBPF
32+
type: eBPF
3333
ebpf:
3434
features:
3535
- DNSTracking <1>
36-
privileged: true <2>
36+
sampling: 1 <2>
3737
----
3838
<1> You can set the `spec.agent.ebpf.features` parameter list to enable DNS tracking of each network flow in the web console.
39-
<2> Note that the `spec.agent.ebpf.privileged` specification value must be `true` for DNS tracking to be enabled.
39+
<2> You can set `sampling` to a value of `1` for more accurate metrics.
4040

4141
. When you refresh the *Network Traffic* page, there are new DNS representations you can choose to view in the *Overview* and *Traffic Flow* views and new filters you can apply.
4242
.. Select new DNS choices in *Manage panels* to display graphical visualizations and DNS metrics in the *Overview*.
4343
.. Select new choices in *Manage columns* to add DNS columns to the *Traffic Flows* view.
44-
.. Filter on specific DNS metrics, such as *DNS Id*, *DNS Latency* and *DNS Response Code*, and see more information from the side panel.
44+
.. Filter on specific DNS metrics, such as *DNS Id*, *DNS Error* *DNS Latency* and *DNS Response Code*, and see more information from the side panel. The *DNS Latency* and *DNS Response Code* columns are shown by default.
45+
46+
[NOTE]
47+
====
48+
TCP handshake packets do not have DNS headers. TCP protocol flows without DNS headers are shown in the traffic flow data with *DNS Latency*, *ID*, and *Response code* values of "n/a". You can filter out flow data to view only flows that have DNS headers using the *Common* filter "DNSError" equal to "0".
49+
====

0 commit comments

Comments
 (0)