fix: Ensure proper formatting and handle KeyError in exporter.py

This commit is contained in:
2025-06-18 20:40:57 +05:30
parent 14ec3f6581
commit 07ba196ba6
5 changed files with 3 additions and 6 deletions

View File

@@ -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