code: def get_metrics_and_exported_jobs_by_name(
      prometheus_client: PrometheusConnect, metric_name: str
  ):
      metrics_data = get_metrics_by_name(prometheus_client, metric_name)
      exported_jobs = _extract_exported_jobs(metrics_data)
      return metrics_data, exported_jobs
  
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 12 for calling a global function with example usage: get_metrics_and_exported_jobs_by_name(prometheus_client, metric_name) and returns: metrics_data,  exported_jobs