The Network Observability Operator uses the flowlogs-pipeline
to generate metrics from flow logs. You can utilize these metrics by setting custom alerts and viewing dashboards.
On the Overview tab in the OKD console, you can view the overall aggregated metrics of the network traffic flow on the cluster. You can choose to display the information by node, namespace, owner, pod, and service. You can also use filters and display options to further refine the metrics.
In the web console Observe → Dashboards, select the Netobserv dashboard.
View network traffic metrics in the following categories, with each having the subset per node, namespace, source, and destination:
Byte rates
Packet drops
DNS
RTT
Select the Netobserv/Health dashboard.
View metrics about the health of the Operator in the following categories, with each having the subset per node, namespace, source, and destination.
Flows
Flows Overhead
Flow rates
Agents
Processor
Operator
Infrastructure and Application metrics are shown in a split-view for namespace and workloads.
Metrics generated by the flowlogs-pipeline
are configurable in the spec.processor.metrics.includeList
of the FlowCollector
custom resource to add or remove metrics.
You can also create alerts by using the includeList
metrics in Prometheus rules, as shown in the example "Creating alerts".
When looking for these metrics in Prometheus, such as in the Console through Observe → Metrics, or when defining alerts, all the metrics names are prefixed with `netobserv_. For example, `netobserv_namespace_flows_total. Available metrics names are as follows.
Names followed by an asterisk *
are enabled by default.
namespace_egress_bytes_total
namespace_egress_packets_total
namespace_ingress_bytes_total
namespace_ingress_packets_total
namespace_flows_total
*
node_egress_bytes_total
node_egress_packets_total
node_ingress_bytes_total
*
node_ingress_packets_total
node_flows_total
workload_egress_bytes_total
workload_egress_packets_total
workload_ingress_bytes_total
*
workload_ingress_packets_total
workload_flows_total
When the PacketDrop
feature is enabled in spec.agent.ebpf.features
(with privileged
mode), the following additional metrics are available:
namespace_drop_bytes_total
namespace_drop_packets_total
*
node_drop_bytes_total
node_drop_packets_total
workload_drop_bytes_total
workload_drop_packets_total