diff options
author | 2022-11-30 14:46:10 +0000 | |
---|---|---|
committer | 2022-12-06 07:12:09 +0000 | |
commit | 5466cc69f18a480dbff7e39d28abbbccf683ba2f (patch) | |
tree | 1ec87291b32aa79dc2f6a48b7a3533548f5ed61b /resources/tools/telemetry/bundle_vppctl.py | |
parent | bfbdfaedb044b7643b81f47e76285baedfee9e25 (diff) |
feat(telemetry): Add telemetry export
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ibb8a59fd4e08bc736494c7ab18e689a55f7a98dc
Diffstat (limited to 'resources/tools/telemetry/bundle_vppctl.py')
-rw-r--r-- | resources/tools/telemetry/bundle_vppctl.py | 6 |
1 files changed, 3 insertions, 3 deletions
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<name>\S+)\s+" + r"(?P<node_name>\S+)\s+" r"(?P<state>\S+\s\S+|\S+)\s+" r"(?P<calls>\d+)\s+" r"(?P<vectors>\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 |