mirror of
https://github.com/malarinv/iperf3-monitor.git
synced 2026-03-07 21:12:34 +00:00
fix: Ensure proper formatting and handle KeyError in exporter.py
This commit is contained in:
@@ -156,4 +156,5 @@ def parse_and_publish_metrics(result, source_node, dest_node, protocol):
|
||||
IPERF_JITTER_MS.labels(**labels).set(0)
|
||||
IPERF_PACKETS_TOTAL.labels(**labels).set(0)
|
||||
IPERF_LOST_PACKETS.labels(**labels).set(0)
|
||||
except KeyError:
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user