Corrected handling for the special metric value "all", which should default to all available metrics.