Skip to content

Commit

Permalink
add metrics for uplink macaccess fragments
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Sep 10, 2024
1 parent 5a56403 commit 2543aa9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/l2/upper_mac_metrics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,11 @@ class UpperMacMetrics {
case MacPacketType::kMacBroadcast:
throw std::runtime_error("C-Plane signalling may not be of type MacBroadcast");
case MacPacketType::kMacAccess:
c_plane_signalling_packet_metrics_.increment("MacAccess");
if (packet.is_uplink_fragment()) {
c_plane_signalling_packet_metrics_.increment("MacAccess fragments");
} else {
c_plane_signalling_packet_metrics_.increment("MacAccess");
}
break;
case MacPacketType::kMacEndHu:
c_plane_signalling_packet_metrics_.increment("MacEndHu");
Expand Down

0 comments on commit 2543aa9

Please sign in to comment.