8.3. 网络 Observability 指标
您还可以使用 Prometheus 规则中的 includeList 指标创建警报,如"创建警报"所示。
在 Prometheus 中查找这些指标时,如通过 Observe netobserv_ 前缀。例如 netobserv_namespace_flows_total。可用的指标名称如下:
- includeList 指标名称
默认情况下启用带有星号
*的名称。-
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
-
- PacketDrop 指标名称
当在
spec.agent.ebpf.features(具有privileged模式)中启用PacketDrop功能时,可以使用以下额外的指标:-
namespace_drop_bytes_total -
namespace_drop_packets_total* -
node_drop_bytes_total -
node_drop_packets_total -
workload_drop_bytes_total -
workload_drop_packets_total
-
- DNS 指标名称
当在
spec.agent.ebpf.features中启用了DNSTracking功能时,可以使用以下额外的指标:-
namespace_dns_latency_seconds* -
node_dns_latency_seconds -
workload_dns_latency_seconds
-
- FlowRTT 指标名称
当在
spec.agent.ebpf.features中启用FlowRTT功能时,可以使用以下额外指标:-
namespace_rtt_seconds* -
node_rtt_seconds -
workload_rtt_seconds
-