def METHOD_NAME(
    redis_instance: _ManagedRedis,
    vms: list[_LinuxVm],
) -> list[sample.Sample]:
  """Runs and reports stats across a series of memtier runs."""
  connections = _GetConnections(vms, redis_instance)
  return memtier.MeasureLatencyCappedThroughputDistribution(
      connections,
      redis_instance.GetMemoryStoreIp(),
      redis_instance.GetMemoryStorePort(),
      vms,
      redis_instance.node_count,
      redis_instance.GetMemoryStorePassword(),
  )