You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/apollo_network_benchmark/src/bin/broadcast_network_stress_test_node/metrics.rs
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ use apollo_metrics::metrics::LossyIntoF64;
6
6
use apollo_network::metrics::{
7
7
BroadcastNetworkMetrics,
8
8
EventMetrics,
9
+
LatencyMetrics,
9
10
NetworkMetrics,
10
11
SqmrNetworkMetrics,
11
12
EVENT_TYPE_LABELS,
@@ -54,6 +55,8 @@ define_metrics!(
54
55
MetricGauge{SYSTEM_NETWORK_BYTES_RECEIVED_TOTAL,"system_network_bytes_received_total","Total bytes received across all network interfaces since system start"},
55
56
MetricGauge{SYSTEM_NETWORK_BYTES_SENT_CURRENT,"system_network_bytes_sent_current","Bytes sent across all network interfaces since last measurement"},
56
57
MetricGauge{SYSTEM_NETWORK_BYTES_RECEIVED_CURRENT,"system_network_bytes_received_current","Bytes received across all network interfaces since last measurement"},
58
+
59
+
MetricHistogram{PING_LATENCY_SECONDS,"ping_latency_seconds","Ping latency in seconds"},
0 commit comments