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

        Gets the total Memory requests for the cluster
        :return: a float of total memory requested
        
src/robusta/integrations/resource_analysis/memory_analyzer.py