From 5466cc69f18a480dbff7e39d28abbbccf683ba2f Mon Sep 17 00:00:00 2001 From: pmikus Date: Wed, 30 Nov 2022 14:46:10 +0000 Subject: feat(telemetry): Add telemetry export Signed-off-by: pmikus Change-Id: Ibb8a59fd4e08bc736494c7ab18e689a55f7a98dc --- resources/tools/telemetry/bundle_vppctl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources/tools/telemetry/bundle_vppctl.py') diff --git a/resources/tools/telemetry/bundle_vppctl.py b/resources/tools/telemetry/bundle_vppctl.py index 5334237496..d0ee3754c7 100644 --- a/resources/tools/telemetry/bundle_vppctl.py +++ b/resources/tools/telemetry/bundle_vppctl.py @@ -30,7 +30,7 @@ M_RUN_SEPARATOR = ( r"(-)+" ) M_RUN_NODES = ( - r"(?P\S+)\s+" + r"(?P\S+)\s+" r"(?P\S+\s\S+|\S+)\s+" r"(?P\d+)\s+" r"(?P\d+)\s+" @@ -284,7 +284,7 @@ class BundleVppctl: item = dict() labels = dict() item["name"] = metric - labels["name"] = nodes["name"] + labels["node_name"] = nodes["node_name"] labels["state"] = nodes["state"] try: labels["thread_name"] = thread["thread_name"] @@ -364,7 +364,7 @@ class BundleVppctl: item = dict() labels = dict() item["name"] = metric - labels["name"] = node["node_name"] + labels["node_name"] = node["node_name"] labels["thread_name"] = thread["thread_name"] labels["thread_id"] = thread["thread_id"] item["labels"] = labels -- cgit 1.2.3-korg