Skip to main content

Hubble Metrics

When Retina is deployed with Hubble control plane, the metrics include Node-level and Pod-level. Metrics are stored in Prometheus format, and can be viewed in Grafana.

Metrics

  • Node-Level Metrics: These metrics provide insights into traffic volume, dropped packets, number of connections, etc. by node.
  • Hubble Metrics (DNS and Pod-Level Metrics): These metrics include source and destination pod information allowing to pinpoint network-related issues at a granular level. Metrics cover traffic volume, dropped packets, TCP resets, L4/L7 packet flows, etc. DNS metrics include DNS errors and DNS requests missing responses.

Node-Level Metrics

The following metrics are aggregated per node. All metrics include labels:

  • cluster
  • instance (Node name)

Retina provides metrics for both Linux and Windows operating systems. The table below outlines the different metrics generated.

Metric NameDescriptionExtra LabelsLinuxWindows
networkobservability_forward_countTotal forwarded packet countdirection
networkobservability_forward_bytesTotal forwarded byte countdirection
networkobservability_drop_countTotal dropped packet countdirection, reason
networkobservability_drop_bytesTotal dropped byte countdirection, reason
networkobservability_tcp_stateTCP currently active socket count by TCP state.state
networkobservability_tcp_connection_remoteTCP currently active socket count by remote IP/port.address (IP), port
networkobservability_tcp_connection_statsTCP connection statistics. (ex: Delayed ACKs, TCPKeepAlive, TCPSackFailures)statistic
networkobservability_tcp_flag_countersTCP packets count by flag.flag
networkobservability_ip_connection_statsIP connection statistics.statistic
networkobservability_udp_connection_statsUDP connection statistics.statistic
networkobservability_udp_active_socketsUDP currently active socket count
networkobservability_interface_statsInterface statistics.InterfaceName, statistic

Pod-Level Metrics (Hubble Metrics)

The following metrics are aggregated per pod (node information is preserved). All metrics include labels:

  • cluster
  • instance (Node name)
  • source
  • destination

For outgoing traffic, there will be a source label with source pod namespace/name. For incoming traffic, there will be a destination label with destination pod namespace/name.

Metric NameDescriptionExtra LabelsLinuxWindows
hubble_dns_queries_totalTotal DNS requests by querysource or destination, query, qtypes (query type)
hubble_dns_responses_totalTotal DNS responses by query/responsesource or destination, query, qtypes (query type), rcode (return code), ips_returned (number of IPs)
hubble_drop_totalTotal dropped packet countsource or destination, protocol, reason
hubble_tcp_flags_totalTotal TCP packets count by flag.source or destination, flag
hubble_flows_processed_totalTotal network flows processed (L4/L7 traffic)source or destination, protocol, verdict, type, subtype