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
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,10 @@ use apollo_metrics::define_metrics;
5
5
use apollo_metrics::metrics::LossyIntoF64;
6
6
use apollo_network::metrics::{
7
7
BroadcastNetworkMetrics,
8
+
EventMetrics,
8
9
NetworkMetrics,
9
10
SqmrNetworkMetrics,
11
+
EVENT_TYPE_LABELS,
10
12
NETWORK_BROADCAST_DROP_LABELS,
11
13
};
12
14
@@ -34,6 +36,8 @@ define_metrics!(
34
36
MetricCounter{NETWORK_STRESS_TEST_SENT_MESSAGES,"network_stress_test_sent_messages","Number of stress test messages sent via broadcast", init = 0},
35
37
MetricCounter{NETWORK_STRESS_TEST_RECEIVED_MESSAGES,"network_stress_test_received_messages","Number of stress test messages received via broadcast", init = 0},
36
38
LabeledMetricCounter{NETWORK_DROPPED_BROADCAST_MESSAGES,"network_dropped_broadcast_messages","Number of dropped broadcast messages by reason", init = 0, labels = NETWORK_BROADCAST_DROP_LABELS},
0 commit comments