Casey Bodley [Wed, 17 Aug 2022 13:27:42 +0000 (09:27 -0400)]
common: ceph::perf_counters::make_cache_key()
a flat representation of a set of prometheus labels, returned as a
std::string. this string can either be used for sorting an ordered
container of perf counters, or for hashing an unordered container
use a variadic template to initialize a temporary array for sorting
use rvalue-ref to c array instead of variadic template