Skip to content

Commit

Permalink
print the value of log_packets and log_drops
Browse files Browse the repository at this point in the history
  • Loading branch information
saushew committed Apr 1, 2024
1 parent e9501e1 commit 53f60f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cli/telegraf.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ void unsafe()
"fwsync_no_config_drops=%luu,"
"repeat_ttl=%luu,"
"acl_ingress_dropPackets=%luu,"
"acl_egress_dropPackets=%luu\n",
"acl_egress_dropPackets=%luu,"
"log_drops=%luu,"
"log_packets=%luu\n",
coreId,
iterations,
stats.brokenPackets,
Expand Down Expand Up @@ -168,7 +170,9 @@ void unsafe()
stats.fwsync_no_config_drops,
stats.repeat_ttl,
stats.acl_ingress_dropPackets,
stats.acl_egress_dropPackets);
stats.acl_egress_dropPackets,
stats.logs_drops,
stats.logs_packets);

for (const auto& [physicalPortName, stats] : ports_stats)
{
Expand Down

0 comments on commit 53f60f5

Please sign in to comment.