code: def _extract_exported_jobs(metrics):
      return set(
          [metric["metric"]["exported_job"] for metric in metrics]
      )
  
imports: from typing import Dict, Optional
  import requests
  from docarray import DocumentArray
  from opentelemetry.context.context import Context
  from prometheus_api_client import PrometheusConnect
  from jina import Executor, requests
label_desc: Use image node_id 9 for calling a global function with example usage: _extract_exported_jobs(metrics) and returns: set