ref: Rename function: format_prefix -> format_metric