type SnapshotKey = (String, Vec<(String, String)>);
Key type for the snapshot: (metric_name, sorted_label_pairs).