dwrite: Initial support of cluster metrics computation.