X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=resources%2Ftools%2Ftelemetry%2Fbundle_vppctl.py;h=d0ee3754c7e007433dc2ed8153a6880b5cf45de0;hb=5466cc69f18a480dbff7e39d28abbbccf683ba2f;hp=53342374967443bf929c3464a9e8ae8e2c88aefb;hpb=bfbdfaedb044b7643b81f47e76285baedfee9e25;p=csit.git 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