class_docstr: The performance class encapsulates the metrics that are recorded for
  configurations.
docstr: Returns the list of metrics that are exposed by the performance class.
docstr_tok: ["Returns","the","list","of","metrics","that","are","exposed","by","the","performance","class","."]
code: def metrics(cls) -> list[str]:
      """
      Returns the list of metrics that are exposed by the performance class.
      """
      # pylint: disable=no-member
      return list(cls.__dataclass_fields__.keys())
  
file_path: gluonts/src/gluonts/nursery/tsbench/src/tsbench/evaluations/metrics/performance.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import cast, Dict, List, Union
  import numpy
  import pandas
  from .metric import Metric
label_desc: Use image node_id 2 for calling the Performance obj's underlying member method code with example usage: obj.metrics(cls) and returns: list