Ranking (or even just judging) of drummers is often done using the yardstick of technical ability, especially but not limited to by drummers themselves. But you’ll notice songwriters, singers, and players of instruments other than drums sometimes use a different metric, that of musicality. Hard to define, easy to hear.
For instance, Ry Cooder would arrange his recordings around the availability of Jim Keltner (a drummer also favoured by Randy Newman and Bill Frisell). Lots of singers made the trip to Muscle Shoals specifically to record with Fame Studios house band Thw Swampers, whose drummer Roger Hawkins is a living legend (Keltner in a Modern Drummer interview stated he wished he played more like Roger). For a taste of Hawkins' drumming, listen to "Loan Me A Dime" by Boz Scaggs.(guitar by Duane Allman), and all the Jerry Wexler-produced Aretha Franklin albums on Atlantic Records.
One guitar virtuoso who didn’t like drummers who played "flashy" was the late, great Danny Gatton.
Gatton to his new drummer on the break after the first set of the drummer’s debut gig with Danny: "Hey, ya know all that fancy stuff you play?"
The drummer: "Yeah."
Gatton: "Don’t."