Hi,
Since the metric’s are named ProfileSync::<name>::TotalTime
there’s not much you can do. One way of doing it is to have multiple queries.
There’s an old issue regarding regex support for alias and metrics name here. Please upvote the issue with a if you find it important for you.
Marcus