We study a new family of metrics, weighted poset block metric, which generalizes the weighted coordinates poset metric introduced by Panek and Pinheiro (IEEE Trans Inf Theory 66(11):6823–6834, 2020) and the metric for linear error-block codes introduced by Feng et al. (Finite Fields Appl 12(4):638–652, 2006). This metric covers various metrics such as Hamming metric, Lee metric, poset metric, pomset metric, poset block metric, pomset block metric and so on. We give a complete description of the groups of linear isometries of these metric spac...