diff --git a/deps/wazuh_testing/wazuh_testing/tools/performance/visualization.py b/deps/wazuh_testing/wazuh_testing/tools/performance/visualization.py index 9ea3fdc8fd..6ae2a0df2f 100644 --- a/deps/wazuh_testing/wazuh_testing/tools/performance/visualization.py +++ b/deps/wazuh_testing/wazuh_testing/tools/performance/visualization.py @@ -218,7 +218,7 @@ def __init__(self, dataframes_paths, store_path=gettempdir(), base_name=None, un base_name (str, optional): Base name for saved visualizations. Defaults to None. unify_child_daemon_metrics (bool, optional): Whether to unify child daemon metrics. Defaults to False. """ - super().__init__(dataframes, store_path, base_name) + super().__init__(dataframes_paths, store_path, base_name) self._validate_dataframe() if unify_child_daemon_metrics: self.dataframe = self.dataframe.reset_index(drop=False) @@ -341,7 +341,7 @@ def __init__(self, dataframes_paths, daemon, store_path=gettempdir(), base_name= base_name (str, optional): Base name for saved visualizations. Defaults to None. """ self.daemon = daemon - super().__init__(dataframes, store_path, base_name) + super().__init__(dataframes_paths, store_path, base_name) self.plots_data = self._load_plot_data() self.expected_fields = [] for graph in self.plots_data.values(): @@ -414,7 +414,7 @@ def __init__(self, dataframes_paths, store_path=gettempdir(), base_name=None): store_path (str, optional): Path to store visualizations. Defaults to system temp directory. base_name (str, optional): Base name for saved visualizations. Defaults to None. """ - super().__init__(dataframes, 'logcollector', store_path, base_name) + super().__init__(dataframes_paths, 'logcollector', store_path, base_name) def _get_expected_fields(self): """Get the list of expected fields for logcollector statistics.