def fetch_all_metric_names()

in otava/importer.py [0:0]


    def fetch_all_metric_names(self, test_conf: JsonTestConfig) -> List[str]:
        metric_names = set()
        list_of_json_obj = self.inputfile(test_conf)
        for result in list_of_json_obj:
            for metric in result["metrics"]:
                metric_names.add(metric["name"])
        return [m for m in metric_names]