From 5aea7477d32c3e8fa2703f26803bcc4d6a0d68bd Mon Sep 17 00:00:00 2001 From: Brian Mesick Date: Mon, 25 Mar 2024 09:51:07 -0400 Subject: [PATCH] feat: Store load test run Allows the monitor to wait until the run starts and share the run id with the load test script. --- .../management/commands/load_test_tracking_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform_plugin_aspects/management/commands/load_test_tracking_events.py b/platform_plugin_aspects/management/commands/load_test_tracking_events.py index 4701720..4d78e10 100644 --- a/platform_plugin_aspects/management/commands/load_test_tracking_events.py +++ b/platform_plugin_aspects/management/commands/load_test_tracking_events.py @@ -135,7 +135,7 @@ def record_to_clickhouse(self, event_type, extra) -> None: """ output = io.StringIO() - writer = csv.writer(output, dialect="excel_tab") + writer = csv.writer(output, dialect="excel-tab") writer.writerow((self.run_id, event_type, json.dumps(extra), None)) print(output.getvalue().encode("utf-8"))