From 67d2ce140999ecc49e519455cbfe5ba2b1f6c938 Mon Sep 17 00:00:00 2001 From: Nick Hagerty Date: Mon, 2 Oct 2023 15:16:24 -0400 Subject: [PATCH] Added test_id to node_health fields --- harness/libraries/apptest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harness/libraries/apptest.py b/harness/libraries/apptest.py index 52b20622..49344063 100644 --- a/harness/libraries/apptest.py +++ b/harness/libraries/apptest.py @@ -813,7 +813,7 @@ def local_send_to_influx(influx_url, influx_event_record_string, headers): # then it's a node location identifier for k in node_locations[node_name].keys(): influx_event_record_string += f',{k}={node_locations[node_name][k]}' - influx_event_record_string += f' status="{node_healths[node_name]["status"]}",message="{node_healths[node_name]["message"]}"' + influx_event_record_string += f' status="{node_healths[node_name]["status"]}",message="{node_healths[node_name]["message"]}",test_id="{tag_values["test_id"]}"' if post_run and not str(run_timestamp) == '': influx_event_record_string += f' {run_timestamp}' if local_send_to_influx(influx_url, influx_event_record_string, headers):