fix redis metric scheme