Network Performance Probe metrics
Network Performance Probe (NPP) exposes metrics in Prometheus format on the /metrics endpoint on port 9100 on every monitor. In tests, it stores metrics in the CR status.
The following metrics are available:
Download metrics
download_maximum_speed
Type: gauge
Maximum download speed in bytes/s based on the historical results
Example: download_maximum_speed{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 63245.613761115
Labels:
download_history_failures_total
Type: counter
Number of failures in the history
Example: download_history_failures{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 0
Labels:
download_history_total
Type: counter
Total number of records in the history
Example: download_history_total{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 10
Labels:
download_last_speed
Type: gauge
Last successful download speed in bytes/s
Example: download_last_speed{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 62681.3582984132
Labels:
download_loss_percent
Type: gauge
Packet loss in percent based on the historical results
Example: download_loss_percent{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 0
Labels:
download_mean_speed
Type: gauge
Mean speed in bytes/s based on the historical results
Example: download_mean_speed{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 56036.20451962781
Labels:
download_std_deviation_ms
Type: gauge
Standard deviation in bytes/s based on the historical results
Example: download_std_deviation_ms{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 12767.592661516714
Labels:
download_minimum_speed
Type: gauge
Minimum download speed in bytes/s based on the historical results
Example: download_minimum_speed{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="https://google.com",target_name="Google"} 19355.702971356837
Labels:
MTR metrics
mtr_avg_ms
Type: gauge
Average round-trip time of all traceroute probes
Example: mtr_avg_ms{dst="8.8.8.8",hop="01",host="8.8.8.8",namespace="sample",sent="1",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 3.007463
Labels:
mtr_minimum_ms
Type: gauge
Minimum round-trip time of all traceroute probes
Example: mtr_minimum_ms{dst="8.8.8.8",hop="01",host="8.8.8.8",namespace="sample",sent="1",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 136.007463
Labels:
mtr_failures_total
Type: counter
Total number of failed executions for this target
Example: mtr_failures_total{dst="8.8.8.8",host="8.8.8.8",namespace="sample",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 0
Labels:
mtr_last_ms
Type: gauge
Round trip time of the last traceroute probe
Example: mtr_last_ms{dst="8.8.8.8",hop="01",host="8.8.8.8",namespace="sample",sent="1",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 136.007463
Labels:
mtr_loss_percent
Type: gauge
Packet loss for this hop
Example: mtr_loss_percent{dst="8.8.8.8",hop="01",host="8.8.8.8",namespace="sample",sent="1",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 0
Labels:
mtr_stdev_ms
Type: gauge
Standard deviation probe results for each hop
Example: mtr_stdev_ms{dst="8.8.8.8",hop="01",host="8.8.8.8",namespace="sample",sent="1",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 0
Labels:
mtr_total
Type: counter
Total number of executions for this target
Example: mtr_total{dst="8.8.8.8",host="8.8.8.8",namespace="sample",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 670
Labels:
mtr_maximum_ms
Type: gauge
Maximum round-trip time of all traceroute probes
Example: mtr_maximum_ms{ddst="8.8.8.8",hop="01",host="8.8.8.8",namespace="sample",sent="1",source_ip="0.0.0.0",source_name="sample",src="mtr-monitor-sample",target="8.8.8.8",target_name="Google DNS",tests="1"} 136.007463
Labels:
Ping metrics
ping_history_failures_total
Type: counter
Total number of failures in the history
Example: ping_history_failures_total{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 0
Labels:
ping_history_total
Type: counter
Total number of records in the history
Example: ping_history_total{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 1
Labels:
ping_loss_percent
Type: gauge
Packet loss in percent based on the historical results
Example: ping_loss_percent{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 0
Labels:
ping_rtt_minimum_ms
Type: gauge
Minimum round trip time in milliseconds based on the historical results
Example: ping_rtt_minimum_ms{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 3.933392
Labels:
ping_rtt_mean_ms
Type: gauge
Mean round trip time in milliseconds based on the historical results
Example: ping_rtt_mean_ms{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 104.933392
Labels:
ping_rtt_ms
Type: gauge
Last successful round trip time in milliseconds
Example: ping_rtt_ms{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 104.933392
Labels:
ping_rtt_std_deviation_ms
Type: gauge
Standard deviation in milliseconds based on the historical results
Example: ping_rtt_std_deviation_ms{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 0
Labels:
ping_rtt_maximum_ms
Type: gauge
Maximum round trip time in milliseconds based on the historical results
Example: ping_rtt_maximum_ms{monitor="nprobe",namespace="sample",source_ip="0.0.0.0",source_name="sample",target="8.8.8.8",target_name="Google DNS"} 104.933392
Labels:
Common labels
Each metric has the following labels attached:
monitor="nprobe"- label for all probe metricsnamespace="{source_pod_namespace}"- name of the namespace where the tested pod is deployedsource_ip="{source_interface_ip_address}"- IP address of the source interfacesource_name="{source_interface_name}"- name of the source interface defined in the probe configurationtarget="{target_address}"- address of the target endpointtarget_name="{target_name}"- name of the target endpoint defined in the configuration