code: def query_metrics(query):
      repo = Repo.default_repo()
      metrics = list(
          repo.query_metrics(
              query=query, report_mode=QueryReportMode.DISABLED
          ).iter()
      )
  
imports: from aim.sdk import Repo
  from aim.sdk.types import QueryReportMode
  from aim.web.api.runs.utils import get_run_props
  from performance_tests.utils import timing
label_desc: Use image node_id 4 for calling a global function with example usage: query_metrics(query) without return types