1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 05:02:10 +01:00

Removed unused per_protocol_counters logic

This commit is contained in:
Pavel Odintsov 2024-07-10 15:15:12 +03:00
parent 9fe403253d
commit c495d4be2b

@ -873,10 +873,8 @@ push_network_traffic_counters_to_clickhouse(clickhouse::Client* clickhouse_metri
register_clickhouse_network_metrics_block(block, metrics);
// Register these fields only if we have enabled per protocol metrics
if (per_protocol_counters) {
register_clickhouse_per_protocol_metrics_block(block, metrics.pp);
}
// Per protocol metrics
register_clickhouse_per_protocol_metrics_block(block, metrics.pp);
clickhouse_metrics_writes_total++;