def get_total_cpu_requests(self, duration: timedelta = timedelta(minutes=10)):
        """
        Gets the total cpu requests for the cluster
        :return: a float the percentage of total cpus requested
        """
        query = (
            f"sum(avg_over_time(namespace_cpu:kube_pod_container_resource_requests" f":sum{{}}[{duration.seconds}s]))"
        )
        return self._get_query_value(self._query(query))

        Gets the total cpu requests for the cluster
        :return: a float the percentage of total cpus requested
        
src/robusta/integrations/resource_analysis/cpu_analyzer.py