change the type of param to List<String> to reuse it with different
metric, especially when the ids are optional