code: def get_metric_names_for_type(feature_type: str) -> List[str]:
      return sorted(
          list(get_metric_feature_type_registry()[feature_type].keys())
      )
  
file_path: ludwig/ludwig/modules/metric_registry.py
imports: from typing import Dict, List, Literal, TYPE_CHECKING, Union
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.constants import LOGITS, MAXIMIZE, MINIMIZE, PREDICTIONS, PROBABILITIES, RESPONSE
  from ludwig.utils.registry import Registry
label_desc: Use image node_id 8 for calling a global function with example usage: get_metric_names_for_type(feature_type) and returns: sorted