def _query(self, query):
        """
        Runs a simple query returning a single metric and returns that metric
        """
        response = self.prom.safe_custom_query(query, params=self.default_params)
        result = response["result"]
        return float(result[0]["value"][1])

        Runs a simple query returning a single metric and returns that metric
        
src/robusta/integrations/resource_analysis/node_cpu_analyzer.py