Skip to content

Commit

Permalink
Merge pull request #136 from hagertnl/nick-issue133-testid-for-nodehe…
Browse files Browse the repository at this point in the history
…alth

Added test_id to node_health fields
  • Loading branch information
verolero86 authored Oct 16, 2023
2 parents b8e0950 + 67d2ce1 commit c77de1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/libraries/apptest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c77de1a

Please sign in to comment.